projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecdfcec
)
thermal plugin: fixed value submitting
author
Markus Knetschke
<markus.knetschke@gmail.com>
Sun, 23 Dec 2012 10:02:42 +0000
(11:02 +0100)
committer
Florian Forster
<octo@collectd.org>
Wed, 27 Mar 2013 22:57:21 +0000
(23:57 +0100)
Signed-off-by: Markus Knetschke <markus.knetschke@gmail.com>
Signed-off-by: Florian Forster <octo@collectd.org>
src/thermal.c
patch
|
blob
|
history
diff --git
a/src/thermal.c
b/src/thermal.c
index
b9d07bf
..
6cbe69e
100644
(file)
--- 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));