summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b1bd5d7)
raw | patch | inline | side by side (parent: b1bd5d7)
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.
macro.
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index 84a5abf240bba3226c450afda0a23e38931711f1..307bbf4f733bffe9a22cca2de5b71f6981f343b1 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
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);
}