]> granicus.if.org Git - postgresql/commitdiff
Fix unportable format string.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 12 Oct 2012 17:22:11 +0000 (13:22 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 12 Oct 2012 17:22:11 +0000 (13:22 -0400)
Per compiler warning.

contrib/pg_test_fsync/pg_test_fsync.c

index 7f7368a315660abbc36917fd11d5e7a1ccd48db5..efa1b3284ec7798c689b36df23c2f62b58499a1b 100644 (file)
@@ -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. */