diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-03-13 20:36:18 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2019-03-13 20:36:18 +0100 |
commit | 9cc39c8f7461785232c1f687e40160e6151cf07e (patch) | |
tree | 4f0d6f6ed6f21f3997107e0731f4e0e83ad89331 /searchcorespi/src | |
parent | 820a730d7efede2a84133170639d624f7939e358 (diff) |
Fix format strings in searchcorespi module.
Diffstat (limited to 'searchcorespi/src')
-rw-r--r-- | searchcorespi/src/vespa/searchcorespi/index/indexflushtarget.cpp | 2 | ||||
-rw-r--r-- | searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/indexflushtarget.cpp b/searchcorespi/src/vespa/searchcorespi/index/indexflushtarget.cpp index 47af497ec15..3486f7167c0 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/indexflushtarget.cpp +++ b/searchcorespi/src/vespa/searchcorespi/index/indexflushtarget.cpp @@ -42,7 +42,7 @@ IndexFlushTarget::needUrgentFlush(void) const { bool urgent = _numFrozenMemoryIndexes > _maxFrozenMemoryIndexes; SerialNum flushedSerial = _indexMaintainer.getFlushedSerialNum(); - LOG(debug, "Num frozen: %u Urgent: %d, flushedSerial=%lu", + LOG(debug, "Num frozen: %u Urgent: %d, flushedSerial=%" PRIu64, _numFrozenMemoryIndexes, static_cast<int>(urgent), flushedSerial); return urgent; } diff --git a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp index 440cc8bc605..dd31c476567 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp +++ b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp @@ -1180,7 +1180,7 @@ void IndexMaintainer::compactLidSpace(uint32_t lidLimit, SerialNum serialNum) { assert(_ctx.getThreadingService().index().isCurrentThread()); - LOG(info, "compactLidSpace(%u, %lu)", lidLimit, serialNum); + LOG(info, "compactLidSpace(%u, %" PRIu64 ")", lidLimit, serialNum); LockGuard lock(_index_update_lock); _current_serial_num = serialNum; _selector->compactLidSpace(lidLimit); |