[collectd] [PATCH] src/plugin.c: add info to 'Invalid value list' error message

Xavier Mehrenberger xavier.mehrenberger at gmail.com
Sat Jun 11 23:01:57 CEST 2011


---
 src/plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/plugin.c b/src/plugin.c
index a5ae97b..754a1f2 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -1141,7 +1141,7 @@ int plugin_dispatch_values (value_list_t *vl)
 	if ((vl == NULL) || (vl->type[0] == 0)
 			|| (vl->values == NULL) || (vl->values_len < 1))
 	{
-		ERROR ("plugin_dispatch_values: Invalid value list.");
+		ERROR ("plugin_dispatch_values: Invalid value list from plugin %s.", vl->plugin);
 		return (-1);
 	}
 
-- 
1.7.5.2




More information about the collectd mailing list