summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2012-10-12 17:22:11 +0000
committerTom Lane2012-10-12 17:22:11 +0000
commit427fd88552c5ee6e239b776dfa763489251809bc (patch)
treed5172384823d57f2fd09146a9fd15a5152092134
parent71e58dcfb9ee47064a3ccfeba66a5bdf026380b5 (diff)
Fix unportable format string.
Per compiler warning.
-rw-r--r--contrib/pg_test_fsync/pg_test_fsync.c2
1 files changed, 1 insertions, 1 deletions
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. */