Merge pull request #1743 from rubenk/apcups-coverity
[collectd.git] / src / mbmon.c
index 5e87f00..2d6d77e 100644 (file)
@@ -260,8 +260,8 @@ static int mbmon_read (void)
                double value;
                char *nextc;
 
-               char *type;
-               char *inst;
+               const char *type;
+               const char *inst;
 
                *t++ = '\0';
                trim_spaces (s);