X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils_mount.h;h=7518188dee7e048793802fac33f6824a90d3e434;hp=ef0bf75912bbf9941848ad1b1d52addc2963805e;hb=f7f5868ee0378791ccd8d1788e27ebf2a02737dc;hpb=8fc1bf9987ab1aa8cef8c3125da82de59d93efb1 diff --git a/src/utils_mount.h b/src/utils_mount.h index ef0bf759..7518188d 100644 --- a/src/utils_mount.h +++ b/src/utils_mount.h @@ -118,7 +118,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 ','.