From: Lennart Poettering Date: Tue, 30 Aug 2011 23:46:38 +0000 (+0200) Subject: mount: fix parsing of prio value X-Git-Tag: v35~10 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=inline;h=3a34ae3a4d211d9236ca77d9a162aa27ac11f5f9;p=elogind.git mount: fix parsing of prio value https://bugzilla.redhat.com/show_bug.cgi?id=722803 --- diff --git a/src/mount.c b/src/mount.c index bd1612fd8..829c2cc13 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;