mbmon plugin: constify
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 20:02:43 +0000 (21:02 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 20:02:43 +0000 (21:02 +0100)
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);