diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2020-04-08 19:19:45 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2020-04-08 19:26:35 +0200 |
commit | 41b4b2a7cffc3f437aa19751f2055a2918429d33 (patch) | |
tree | bbc02a8149ac24dcde25e228e02b303a70399dfe /src/bin/scripts/createuser.c | |
parent | 983ed99a60aef44e7b0ca518d3ca32ae4c3ce411 (diff) | |
download | postgresql-41b4b2a7cffc3f437aa19751f2055a2918429d33.tar.gz postgresql-41b4b2a7cffc3f437aa19751f2055a2918429d33.zip |
createuser: Change a fprintf to pg_log_error
Diffstat (limited to 'src/bin/scripts/createuser.c')
-rw-r--r-- | src/bin/scripts/createuser.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/scripts/createuser.c b/src/bin/scripts/createuser.c index c65bb2958de..e17ae2ea32c 100644 --- a/src/bin/scripts/createuser.c +++ b/src/bin/scripts/createuser.c @@ -152,9 +152,8 @@ main(int argc, char *argv[]) conn_limit = strtol(optarg, &endptr, 10); if (*endptr != '\0' || conn_limit < -1) /* minimum valid value */ { - fprintf(stderr, - _("%s: invalid value for --connection-limit: %s\n"), - progname, optarg); + pg_log_error("invalid value for --connection-limit: %s", + optarg); exit(1); } break; |