From: Florian Forster Date: Tue, 14 Jul 2015 06:42:15 +0000 (+0200) Subject: src/utils_latency.c: Fix format string error. X-Git-Tag: collectd-5.5.1~6^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bc32fe6c76b13b96c4834768b8a8eab8943327dc;p=collectd.git src/utils_latency.c: Fix format string error. --- diff --git a/src/utils_latency.c b/src/utils_latency.c index f9872669..90479741 100644 --- a/src/utils_latency.c +++ b/src/utils_latency.c @@ -163,7 +163,7 @@ void latency_counter_add (latency_counter_t *lc, cdtime_t latency) /* {{{ */ 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; } }