diff --git a/src/ipmi.c b/src/ipmi.c
index 95e2e7c1023fd140e7012920e548d2ad4c5ed5e6..7a00c887898d7035e63b30ca6601119ced9dbdf9 100644 (file)
--- a/src/ipmi.c
+++ b/src/ipmi.c
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "ipmi", sizeof (vl.plugin));
+ sstrncpy (vl.type, type, sizeof (vl.type));
sstrncpy (vl.type_instance, sensor_name_ptr, sizeof (vl.type_instance));
- plugin_dispatch_values (type, &vl);
+ plugin_dispatch_values (&vl);
} /* void sensor_read_handler */
static int sensor_list_add (ipmi_sensor_t *sensor)