postgres.git / summary / log / commit / refs
commit 780054bf31a0a6ba781f46c454f0116efee8a74c
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Wed Oct 13 06:20:59 2021 +0000
First released in: 15.0
Fix incorrect format placeholder
src/bin/pgbench/pgbench.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
[parent: fa66b6dee084]