chiark / gitweb /
mount: fix parsing of prio value
[elogind.git] / 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;