From 1882e314836ae55faedbacaf8f9d8383528c5900 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 9 Mar 2009 18:45:46 +0100 Subject: [PATCH] rrdtool plugin: Beatify a debugging message. --- src/rrdtool.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/rrdtool.c b/src/rrdtool.c index b8885e8e..0e8aec49 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -390,8 +390,9 @@ static void *rrd_queue_thread (void __attribute__((unused)) *data) /* Write the values to the RRD-file */ srrd_update (queue_entry->filename, NULL, values_num, (const char **)values); - DEBUG ("rrdtool plugin: queue thread: Wrote %i values to %s", - values_num, queue_entry->filename); + DEBUG ("rrdtool plugin: queue thread: Wrote %i value%s to %s", + values_num, (values_num == 1) ? "" : "s", + queue_entry->filename); for (i = 0; i < values_num; i++) { -- 2.11.0