X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_mount.c;h=c329ba49c21e00259b0e732438231c939fd676eb;hb=5c2993e4121feae745551be182221b31bc23ff97;hp=4ec5fb79e8bcd8bbd8e4b68334309796004f2b19;hpb=3aeca36659b04725028f123bcea387a37581624a;p=collectd.git diff --git a/src/utils_mount.c b/src/utils_mount.c index 4ec5fb79..c329ba49 100644 --- a/src/utils_mount.c +++ b/src/utils_mount.c @@ -757,7 +757,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; @@ -798,7 +798,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; @@ -820,7 +820,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)