projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ddb65
)
volume_id: fix a buglet introduced by is_prefixed_with() conversion
author
Alfonso Ranieri
<alforan@tin.it>
Tue, 14 Apr 2015 12:32:39 +0000
(14:32 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 14 Apr 2015 12:32:39 +0000
(14:32 +0200)
Signed-off-by: Alfonso Ranieri <alforan@tin.it>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/volume_id/get_devname.c
patch
|
blob
|
history
diff --git
a/util-linux/volume_id/get_devname.c
b/util-linux/volume_id/get_devname.c
index 53bdbdf09f346c7820e45110366235bd1b70f3de..6b97df113888ffefe4db177dda299a8f39fdc7e3 100644
(file)
--- a/
util-linux/volume_id/get_devname.c
+++ b/
util-linux/volume_id/get_devname.c
@@
-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)