diff options
Diffstat (limited to 'util-linux/volume_id/get_devname.c')
| -rw-r--r-- | util-linux/volume_id/get_devname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/volume_id/get_devname.c b/util-linux/volume_id/get_devname.c index 53bdbdf09..6b97df113 100644 --- 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) | |||
| 304 | 304 | ||
| 305 | if (is_prefixed_with(*fsname, "UUID=")) | 305 | if (is_prefixed_with(*fsname, "UUID=")) |
| 306 | tmp = get_devname_from_uuid(*fsname + 5); | 306 | tmp = get_devname_from_uuid(*fsname + 5); |
| 307 | else if (is_prefixed_with(*fsname, "LABEL=") == 0) | 307 | else if (is_prefixed_with(*fsname, "LABEL=")) |
| 308 | tmp = get_devname_from_label(*fsname + 6); | 308 | tmp = get_devname_from_label(*fsname + 6); |
| 309 | 309 | ||
| 310 | if (tmp == *fsname) | 310 | if (tmp == *fsname) |
