From 5855e0233b71d1591ee9000ed33b47b573ea280e Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 14 Jul 2015 08:42:15 +0200 Subject: [PATCH] src/utils_latency.c: Fix format string error. --- src/utils_latency.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.30.2