summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-31 01:46:38 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-31 01:46:38 +0200
commit3a34ae3a4d211d9236ca77d9a162aa27ac11f5f9 (patch)
tree01ee62073dc591419483ecdfb53f2885b7bb24d2
parent4b7b2efb69943aae0f8287df6e28b637c50fe318 (diff)
mount: fix parsing of prio value
https://bugzilla.redhat.com/show_bug.cgi?id=722803
-rw-r--r--src/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount.c b/src/mount.c
index bd1612fd8d..829c2cc13c 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -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;