From: Markus Knetschke Date: Sun, 23 Dec 2012 10:02:42 +0000 (+0100) Subject: thermal plugin: fixed value submitting X-Git-Tag: collectd-4.10.9~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d2c70797b18c2b532119b1264841f551e013dcad;p=collectd.git thermal plugin: fixed value submitting Signed-off-by: Markus Knetschke Signed-off-by: Florian Forster --- 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));