X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils_mount.c;h=752d2e158a597e2b3b9e893d57c2d8267d1c71de;hp=da53b980eee91537c9aecdbfef118b835bcea8d1;hb=82c9b0daf5ff90d01f4a4371f11727cd613e4b01;hpb=b4cc5c7399adf79198aea816d44a42df25431d15 diff --git a/src/utils_mount.c b/src/utils_mount.c index da53b980..752d2e15 100644 --- a/src/utils_mount.c +++ b/src/utils_mount.c @@ -763,7 +763,7 @@ void cu_mount_freelist (cu_mount_t *list) } /* void cu_mount_freelist(cu_mount_t *list) */ char * -cu_mount_checkoption(char *line, char *keyword, int full) +cu_mount_checkoption(char *line, const char *keyword, int full) { char *line2, *l2, *p1, *p2; int l; @@ -804,7 +804,7 @@ cu_mount_checkoption(char *line, char *keyword, int full) } /* char *cu_mount_checkoption(char *line, char *keyword, int full) */ char * -cu_mount_getoptionvalue(char *line, char *keyword) +cu_mount_getoptionvalue(char *line, const char *keyword) { char *r; @@ -826,7 +826,7 @@ cu_mount_getoptionvalue(char *line, char *keyword) } } return r; -} /* char *cu_mount_getoptionvalue(char *line, char *keyword) */ +} /* char *cu_mount_getoptionvalue(char *line, const char *keyword) */ int cu_mount_type(const char *type)