From 2cea8075c666a6c6c7d6e1b4f95e1bee6f3803ac Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 5 Feb 2007 11:11:37 +0100 Subject: [PATCH] mbmon plugin: Correct the `type's being passed to the dispatch function. --- src/mbmon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.11.0