mirror of https://github.com/mirror/busybox.git
volume_id: fix a buglet introduced by is_prefixed_with() conversion
Signed-off-by: Alfonso Ranieri <alforan@tin.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>1_24_stable
parent
e0ddb65cb2
commit
a90490fb69
|
@ -304,7 +304,7 @@ int resolve_mount_spec(char **fsname)
|
|||
|
||||
if (is_prefixed_with(*fsname, "UUID="))
|
||||
tmp = get_devname_from_uuid(*fsname + 5);
|
||||
else if (is_prefixed_with(*fsname, "LABEL=") == 0)
|
||||
else if (is_prefixed_with(*fsname, "LABEL="))
|
||||
tmp = get_devname_from_label(*fsname + 6);
|
||||
|
||||
if (tmp == *fsname)
|
||||
|
|
Loading…
Reference in New Issue