From: Florian Forster Date: Tue, 8 Jan 2008 09:52:44 +0000 (+0100) Subject: src/configfile.c: Improve the "Plugin `%s' did not register a callback." warning. X-Git-Tag: collectd-4.1.6~8 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cb5b625fa09da45247b35e96257cd290987e1a53;p=collectd.git src/configfile.c: Improve the "Plugin `%s' did not register a callback." warning. --- diff --git a/src/configfile.c b/src/configfile.c index f4e9c604..176a1877 100644 --- 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); }