Skip to content

Commit f45b8e5

Browse files
committed
createuser: Change a fprintf to pg_log_error
1 parent cea0924 commit f45b8e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bin/scripts/createuser.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,8 @@ main(int argc, char *argv[])
147147
conn_limit = strtol(optarg, &endptr, 10);
148148
if (*endptr != '\0' || conn_limit < -1) /* minimum valid value */
149149
{
150-
fprintf(stderr,
151-
_("%s: invalid value for --connection-limit: %s\n"),
152-
progname, optarg);
150+
pg_log_error("invalid value for --connection-limit: %s",
151+
optarg);
153152
exit(1);
154153
}
155154
break;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy