diff --git a/src/thermal.c b/src/thermal.c
index 6cbe69e353c5ec31cc4213314ac672b90fdb926a..5d3da89254655b9b1434af427ddbf30c6f5b7716 100644 (file)
--- a/src/thermal.c
+++ b/src/thermal.c
vl.values = &vt;
vl.values_len = 1;
+ sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "thermal", sizeof(vl.plugin));
sstrncpy (vl.plugin_instance, plugin_instance,
sizeof(vl.plugin_instance));