]> err.no Git - systemd/commitdiff
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 bd1612fd8de83a719e979b2fffda40058f7d1278..829c2cc13c1ff944666f00418909036742cd9854 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;