projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1bd5d7
)
src/plugin.c: Improve an info message.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 17 Aug 2010 16:52:36 +0000
(18:52 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 17 Aug 2010 16:52:36 +0000
(18:52 +0200)
Based on a patch by Sebastian, which didn't use the handy "FORMAT_VL"
macro.
src/plugin.c
patch
|
blob
|
history
diff --git
a/src/plugin.c
b/src/plugin.c
index
84a5abf
..
307bbf4
100644
(file)
--- a/
src/plugin.c
+++ b/
src/plugin.c
@@
-1307,7
+1307,12
@@
int plugin_dispatch_values (value_list_t *vl)
if (c_avl_get (data_sets, vl->type, (void *) &ds) != 0)
{
- INFO ("plugin_dispatch_values: Dataset not found: %s", vl->type);
+ char ident[6 * DATA_MAX_NAME_LEN];
+
+ FORMAT_VL (ident, sizeof (ident), vl);
+ INFO ("plugin_dispatch_values: Dataset not found: %s "
+ "(from \"%s\"), check your types.db!",
+ vl->type, ident);
return (-1);
}