fix parsing for super option in mountinfo, fixes #714
Costa Tsaousis committed
Jul 21, 2016 at 01:07 UTC
7b179747661459117e8db39ff9400314959a4f46
1 file changed
+1
-1
src/proc_self_mountinfo.c
+1
-1
@@ -60,7 +60,7 @@ struct mountinfo *mountinfo_find_by_filesystem_super_option(struct mountinfo *ro
60
// super_options is a comma separated list
61
char *s = mi->super_options, *e;
62
while(*s) {
63
- e = ++s;
63
+ e = s + 1;
64
while(*e && *e != ',') e++;
65
66
size_t len = e - s;