From: Florian Forster Date: Mon, 9 Mar 2009 17:45:46 +0000 (+0100) Subject: rrdtool plugin: Beatify a debugging message. X-Git-Tag: collectd-4.7.0~120 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1882e314836ae55faedbacaf8f9d8383528c5900;p=collectd.git rrdtool plugin: Beatify a debugging message. --- 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++) {