Whamcloud - gitweb
libe2p: fix bug so that MNTOPT_ options can be successfully parsed
[tools/e2fsprogs.git] / lib / e2p / mntopts.c
index ebab7fd..dfdd0ef 100644 (file)
@@ -65,7 +65,7 @@ int e2p_string2mntopt(char *string, unsigned int *mask)
                        return 0;
                }
        }
-       if (strncasecmp(string, "MNTOPT_", 8))
+       if (strncasecmp(string, "MNTOPT_", 7))
                return 1;
 
        if (string[8] == 0)