mirror of
https://github.com/systemd/systemd.git
synced 2025-09-01 13:59:26 +03:00
mount: fix parsing of prio value
https://bugzilla.redhat.com/show_bug.cgi?id=722803
This commit is contained in:
@ -1474,7 +1474,7 @@ static int mount_find_pri(char *options) {
|
|||||||
char *end, *pri;
|
char *end, *pri;
|
||||||
unsigned long r;
|
unsigned long r;
|
||||||
|
|
||||||
if (!(pri = mount_test_option(options, "pri=")))
|
if (!(pri = mount_test_option(options, "pri")))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
pri += 4;
|
pri += 4;
|
||||||
|
Reference in New Issue
Block a user