mirror of https://github.com/vitalif/e2fsprogs
libe2p: fix bug so that MNTOPT_ options can be successfully parsed
Thanks to Israel G. Lugo for pointing this out. Addresses-Debian-Bug: #641667 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>bitmap-optimize
parent
5b734a0e71
commit
63165136ea
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue