From: Tom Lane Date: Fri, 12 Oct 2012 17:22:11 +0000 (-0400) Subject: Fix unportable format string. X-Git-Tag: REL9_3_BETA1~788 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=427fd88552c5ee6e239b776dfa763489251809bc;p=postgresql Fix unportable format string. Per compiler warning. --- diff --git a/contrib/pg_test_fsync/pg_test_fsync.c b/contrib/pg_test_fsync/pg_test_fsync.c index 7f7368a315..efa1b3284e 100644 --- a/contrib/pg_test_fsync/pg_test_fsync.c +++ b/contrib/pg_test_fsync/pg_test_fsync.c @@ -25,7 +25,7 @@ #define LABEL_FORMAT " %-32s" #define NA_FORMAT "%18s" -#define OPS_FORMAT "%9.3f ops/sec (%6.f microsecs/op)" +#define OPS_FORMAT "%9.3f ops/sec (%6.0f microsecs/op)" #define USECS_SEC 1000000 /* These are macros to avoid timing the function call overhead. */