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~79 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d24980208111f43d97b813fae314161705e58e5c;p=collectd.git src/utils_latency.c: Fix format string error. --- diff --git a/src/utils_latency.c b/src/utils_latency.c index 926159af..12fc9b82 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; } }