Fix incorrect format placeholder
authorPeter Eisentraut <[email protected]>
Wed, 13 Oct 2021 06:20:59 +0000 (08:20 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 13 Oct 2021 06:20:59 +0000 (08:20 +0200)
src/bin/pgbench/pgbench.c

index d6b31bbf53be3e3b5ba0b08e79c877bef8da4e44..d17f69333f41901c7231deec81dadb73275ff370 100644 (file)
@@ -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);
        }