From 63165136eab4ef01dae295c8e290c2a3853c936b Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 15 Sep 2011 14:21:45 -0400 Subject: 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" --- lib/e2p/mntopts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/e2p') 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) -- cgit v1.2.3