From: Peter Eisentraut Date: Wed, 13 Oct 2021 06:20:59 +0000 (+0200) Subject: Fix incorrect format placeholder X-Git-Tag: REL_15_BETA1~1360 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=780054bf31a0a6ba781f46c454f0116efee8a74c;p=thirdparty%2Fpostgresql.git Fix incorrect format placeholder --- diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index d6b31bbf53b..d17f69333f4 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -5410,7 +5410,7 @@ parseScriptWeight(const char *option, char **script) } if (wtmp > INT_MAX || wtmp < 0) { - pg_log_fatal("weight specification out of range (0 .. %u): %lld", + pg_log_fatal("weight specification out of range (0 .. %d): %lld", INT_MAX, (long long) wtmp); exit(1); }