chiark / gitweb /
mount: fix parsing of prio value
authorLennart Poettering <lennart@poettering.net>
Tue, 30 Aug 2011 23:46:38 +0000 (01:46 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 30 Aug 2011 23:46:38 +0000 (01:46 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=722803

src/mount.c

index bd1612f..829c2cc 100644 (file)
@@ -1474,7 +1474,7 @@ static int mount_find_pri(char *options) {
         char *end, *pri;
         unsigned long r;
 
-        if (!(pri = mount_test_option(options, "pri=")))
+        if (!(pri = mount_test_option(options, "pri")))
                 return 0;
 
         pri += 4;