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://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a34ae3a4d211d9236ca77d9a162aa27ac11f5f9;p=systemd 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 bd1612fd..829c2cc1 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;