projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d0697
)
src/configfile.c: Improve the "Plugin `%s' did not register a callback." warning.
author
Florian Forster
<octo@huhu.verplant.org>
Tue, 8 Jan 2008 09:52:44 +0000
(10:52 +0100)
committer
Florian Forster
<octo@huhu.verplant.org>
Tue, 8 Jan 2008 09:52:44 +0000
(10:52 +0100)
src/configfile.c
patch
|
blob
|
history
diff --git
a/src/configfile.c
b/src/configfile.c
index
f4e9c60
..
176a187
100644
(file)
--- a/
src/configfile.c
+++ b/
src/configfile.c
@@
-126,7
+126,9
@@
static int cf_dispatch (const char *type, const char *orig_key,
if ((cf_cb = cf_search (type)) == NULL)
{
- WARNING ("Plugin `%s' did not register a callback.", type);
+ WARNING ("Found a configuration for the `%s' plugin, but "
+ "the plugin isn't loaded or didn't register "
+ "a configuration callback.", type);
return (-1);
}