From: Florian Forster Date: Mon, 5 Feb 2007 10:11:37 +0000 (+0100) Subject: mbmon plugin: Correct the `type's being passed to the dispatch function. X-Git-Tag: collectd-4.0.0-rc4~114^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2cea8075c666a6c6c7d6e1b4f95e1bee6f3803ac;p=collectd.git mbmon plugin: Correct the `type's being passed to the dispatch function. --- diff --git a/src/mbmon.c b/src/mbmon.c index 63330524..0d9cd163 100644 --- a/src/mbmon.c +++ b/src/mbmon.c @@ -299,17 +299,17 @@ static int mbmon_read (void) if (strncmp (s, "TEMP", 4) == 0) { inst = s + 4; - type = "mbmon_temperature"; + type = "temperature"; } else if (strncmp (s, "FAN", 3) == 0) { inst = s + 3; - type = "mbmon_fanspeed"; + type = "fanspeed"; } else if (strncmp (s, "V", 1) == 0) { inst = s + 1; - type = "mbmon_voltage"; + type = "voltage"; } else {