Commit f45b8e51 authored by Peter Eisentraut's avatar Peter Eisentraut

createuser: Change a fprintf to pg_log_error

parent cea09246
...@@ -147,9 +147,8 @@ main(int argc, char *argv[]) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment