aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 7dd70392a..b76c38ab1 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -886,8 +886,7 @@ static int nfsmount(struct mntent *mp, int vfsflags, char *filteropts)
886 nfsvers = 0; 886 nfsvers = 0;
887 887
888 /* parse options */ 888 /* parse options */
889 889 if (filteropts) for (opt = strtok(filteropts, ","); opt; opt = strtok(NULL, ",")) {
890 for (opt = strtok(filteropts, ","); opt; opt = strtok(NULL, ",")) {
891 char *opteq = strchr(opt, '='); 890 char *opteq = strchr(opt, '=');
892 if (opteq) { 891 if (opteq) {
893 static const char *const options[] = { 892 static const char *const options[] = {