aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-10-13 08:20:59 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-10-13 08:20:59 +0200
commit780054bf31a0a6ba781f46c454f0116efee8a74c (patch)
tree6b60138dc8776e2cb34ccc468b4258e80b37f96d
parentfa66b6dee0843d2bca5bf9c9b8b7be32defbffae (diff)
downloadpostgresql-780054bf31a0a6ba781f46c454f0116efee8a74c.tar.gz
postgresql-780054bf31a0a6ba781f46c454f0116efee8a74c.zip
Fix incorrect format placeholder
-rw-r--r--src/bin/pgbench/pgbench.c2
1 files changed, 1 insertions, 1 deletions
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);
}