diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-07-03 10:22:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 10:22:14 +0200 |
commit | 42f3aac637ca8a2105d275c99e4a9df11c979664 (patch) | |
tree | 18f0362246f296336b6eed115c7417c8de650866 | |
parent | 6449baee57367e9ca6537fccf97ae9c9a9264a4b (diff) | |
parent | cc7ea275b9688792a4307af42e6b4146697cbbcf (diff) |
Merge pull request #27605 from vespa-engine/toregge/fix-format-strings
Fix format strings.
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/matching/matcher.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/matcher.cpp b/searchcore/src/vespa/searchcore/proton/matching/matcher.cpp index b2d1593aafc..b1e9f3fec3a 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/matcher.cpp +++ b/searchcore/src/vespa/searchcore/proton/matching/matcher.cpp @@ -17,6 +17,7 @@ #include <vespa/searchlib/fef/ranksetup.h> #include <vespa/searchlib/fef/test/plugin/setup.h> #include <vespa/vespalib/data/slime/inserter.h> +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP(".proton.matching.matcher"); @@ -221,9 +222,9 @@ updateCoverage(Coverage & coverage, const MaybeMatchPhaseLimiter & limiter, cons LOG(debug, "soft doomed, degraded from timeout covered = %" PRIu64, coverage.getCovered()); } LOG(debug, "docid limit = %d", totalSpace); - LOG(debug, "num active lids = %lu", coverage.getActive()); + LOG(debug, "num active lids = %" PRIu64, coverage.getActive()); LOG(debug, "space Estimate = %zd", spaceEstimate); - LOG(debug, "covered = %zu", coverage.getCovered()); + LOG(debug, "covered = %" PRIu64, coverage.getCovered()); } } @@ -334,7 +335,7 @@ Matcher::updateStats(const MatchingStats & my_stats, const search::engine::Reque } if ((_stats.softDoomed() < 10) || (_stats.softDoomed()%100 == 0)) { LOG(info, - "Triggered softtimeout %s count: %zu. Coverage = %lu of %lu documents. request=%1.3f," + "Triggered softtimeout %s count: %zu. Coverage = %" PRIu64 " of %" PRIu64 " documents. request=%1.3f," " doomOvertime=%1.3f, overtime_limit=%1.3f and duration=%1.3f, rankprofile=%s" ", factor %s adjusted from %1.3f to %1.3f", isDoomExplicit ? "with query override" : "factor adjustment", |