diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-09-15 14:21:45 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-15 14:25:45 -0400 |
commit | 63165136eab4ef01dae295c8e290c2a3853c936b (patch) | |
tree | 85e88087bde1295225ab071dd4eb79ac5e24cf10 /lib/e2p | |
parent | 5b734a0e715ba6590624247b0866e4791f717981 (diff) | |
download | e2fsprogs-63165136eab4ef01dae295c8e290c2a3853c936b.tar.gz |
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>
Diffstat (limited to 'lib/e2p')
-rw-r--r-- | lib/e2p/mntopts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/e2p/mntopts.c b/lib/e2p/mntopts.c index ebab7fdf..dfdd0ef6 100644 --- a/lib/e2p/mntopts.c +++ b/lib/e2p/mntopts.c @@ -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) |