summaryrefslogtreecommitdiffstats
path: root/vespalog
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-04-03 15:43:48 +0200
committerTor Egge <Tor.Egge@broadpark.no>2019-04-03 15:43:48 +0200
commitd9e139726a05b8415cb2463ae5ac99e177abe703 (patch)
treee23fdba60f69e00f2acf74e8ba5a3f23d80f91b8 /vespalog
parentea56eae3f73af014d90956a96c719b94efc7ed5a (diff)
Fix format string in vespalog module.
Diffstat (limited to 'vespalog')
-rw-r--r--vespalog/src/vespa/log/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalog/src/vespa/log/log.cpp b/vespalog/src/vespa/log/log.cpp
index 8e3ed9a18ba..a43c6dd0416 100644
--- a/vespalog/src/vespa/log/log.cpp
+++ b/vespalog/src/vespa/log/log.cpp
@@ -379,7 +379,7 @@ Logger::doEventProgress(const char *name, double value, double total)
void
Logger::doEventCount(const char *name, uint64_t value)
{
- doLog(event, "", 0, "count/1 name=\"%s\" value=%lu", name, value);
+ doLog(event, "", 0, "count/1 name=\"%s\" value=%" PRIu64, name, value);
}
void