X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_mount.h;h=bc0077f95db3cac3fbf44cc637cc81bb9ddb87b2;hb=8438e249445f2a1785f9de40a0c8da9889f0b8d1;hp=83f789be9cd3acdf7f5535cb2e41ed035e3cbc2b;hpb=36c2225ae8bc9c4dc20f57276bcb58babf44b45c;p=collectd.git diff --git a/src/utils_mount.h b/src/utils_mount.h index 83f789be..bc0077f9 100644 --- a/src/utils_mount.h +++ b/src/utils_mount.h @@ -119,7 +119,7 @@ char *cu_mount_checkoption(char *line, char *keyword, int full); DESCRIPTION The cu_mount_checkoption() function is a replacement of char *hasmntopt(const struct mntent *mnt, const char *opt). - In fact hasmntopt() just looks for the first occurence of the + In fact hasmntopt() just looks for the first occurrence of the characters at opt in mnt->mnt_opts. cu_mount_checkoption() checks for the *option* keyword in line, starting at the first character of line or after a ','.