Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-3
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)