1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

createuser: Change a fprintf to pg_log_error

This commit is contained in:
Peter Eisentraut
2020-04-08 19:19:45 +02:00
parent cea09246e5
commit f45b8e51b6

View File

@ -147,9 +147,8 @@ main(int argc, char *argv[])
conn_limit = strtol(optarg, &endptr, 10); conn_limit = strtol(optarg, &endptr, 10);
if (*endptr != '\0' || conn_limit < -1) /* minimum valid value */ if (*endptr != '\0' || conn_limit < -1) /* minimum valid value */
{ {
fprintf(stderr, pg_log_error("invalid value for --connection-limit: %s",
_("%s: invalid value for --connection-limit: %s\n"), optarg);
progname, optarg);
exit(1); exit(1);
} }
break; break;