projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a23afc7
)
rrdtool plugin: Beatify a debugging message.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 9 Mar 2009 17:45:46 +0000
(18:45 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 9 Mar 2009 17:45:46 +0000
(18:45 +0100)
src/rrdtool.c
patch
|
blob
|
history
diff --git
a/src/rrdtool.c
b/src/rrdtool.c
index
b8885e8
..
0e8aec4
100644
(file)
--- 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++)
{