Code

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 5e87f00b7087935786d695a6b37387df00901ce5..2d6d77e21474c274af56c7c9e2cdcd7e41575af2 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);