diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-03-12 19:08:19 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2019-03-12 19:08:19 +0100 |
commit | ae69850ed3445b5569035862e95b95d12f37051b (patch) | |
tree | 8b62360d4a9571abe5811a6884c35dbe3bf81f99 /fbench/src/fbench/fbench.cpp | |
parent | e3737a16d211e0cc5b5ad113ea5e3834a47b7ace (diff) |
Fix format strings in fbench module.
Diffstat (limited to 'fbench/src/fbench/fbench.cpp')
-rw-r--r-- | fbench/src/fbench/fbench.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fbench/src/fbench/fbench.cpp b/fbench/src/fbench/fbench.cpp index 36c60e08ef7..205dc867950 100644 --- a/fbench/src/fbench/fbench.cpp +++ b/fbench/src/fbench/fbench.cpp @@ -13,6 +13,7 @@ #include <cstring> #include <cmath> #include <csignal> +#include <cinttypes> namespace { @@ -224,7 +225,7 @@ FBench::PrintSummary() if (_keepAlive) { printf("*** HTTP keep-alive statistics ***\n"); - printf("connection reuse count -- %zu\n", status._reuseCnt); + printf("connection reuse count -- %" PRIu64 "\n", status._reuseCnt); } printf("***************** Benchmark Summary *****************\n"); printf("clients: %8ld\n", _clients.size()); |