From b76b0341b759e4e2dbb2abd46d60b8decdf2fd6d Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 17 Aug 2010 18:52:36 +0200 Subject: [PATCH] src/plugin.c: Improve an info message. Based on a patch by Sebastian, which didn't use the handy "FORMAT_VL" macro. --- src/plugin.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plugin.c b/src/plugin.c index 84a5abf2..307bbf4f 100644 --- 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); } -- 2.30.2