Code

src/configfile.c: Improve the "Plugin `%s' did not register a callback." warning.
authorFlorian Forster <octo@huhu.verplant.org>
Tue, 8 Jan 2008 09:52:44 +0000 (10:52 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 8 Jan 2008 09:52:44 +0000 (10:52 +0100)
src/configfile.c

index f4e9c604fe26cafd75ee04620158b11f5aed6726..176a18774cd69b4e0a7debf7cb262cc0d198bb70 100644 (file)
@@ -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);
        }