From d2c70797b18c2b532119b1264841f551e013dcad Mon Sep 17 00:00:00 2001 From: Markus Knetschke Date: Sun, 23 Dec 2012 11:02:42 +0100 Subject: [PATCH] thermal plugin: fixed value submitting Signed-off-by: Markus Knetschke Signed-off-by: Florian Forster --- src/thermal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/thermal.c b/src/thermal.c index b9d07bf5..6cbe69e3 100644 --- a/src/thermal.c +++ b/src/thermal.c @@ -51,6 +51,8 @@ static void thermal_submit (const char *plugin_instance, enum dev_type dt, vt.gauge = value; vl.values = &vt; + vl.values_len = 1; + sstrncpy (vl.plugin, "thermal", sizeof(vl.plugin)); sstrncpy (vl.plugin_instance, plugin_instance, sizeof(vl.plugin_instance)); -- 2.11.0