git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 71e58dc)
Fix unportable format string.
2012年10月12日 17:22:11 +0000 (13:22 -0400)
2012年10月12日 17:22:11 +0000 (13:22 -0400)
Per compiler warning.


diff --git a/contrib/pg_test_fsync/pg_test_fsync.c b/contrib/pg_test_fsync/pg_test_fsync.c
index 7f7368a315660abbc36917fd11d5e7a1ccd48db5..efa1b3284ec7798c689b36df23c2f62b58499a1b 100644 (file)
--- 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. */
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /