summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 78ed487)
raw | patch | inline | side by side (parent: 78ed487)
author | Florian Forster <octo@collectd.org> | |
Tue, 14 Jul 2015 06:42:15 +0000 (08:42 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 29 Jul 2015 10:02:46 +0000 (12:02 +0200) |
src/utils_latency.c | patch | blob | history |
diff --git a/src/utils_latency.c b/src/utils_latency.c
index 926159afcebef08407960137fd24a57a88225b1d..12fc9b82dfa6e1e3817184d6027ef7f4b724fbee 100644 (file)
--- a/src/utils_latency.c
+++ b/src/utils_latency.c
bin = (latency - 1) / lc->bin_width;
if (bin >= HISTOGRAM_NUM_BINS)
{
- ERROR ("utils_latency: latency_counter_add: Invalid bin %lu", bin);
+ ERROR ("utils_latency: latency_counter_add: Invalid bin: %"PRIu64, bin);
return;
}
}