← Commit list

a90490fb6

Alfonso Ranieri
Alfonso Ranieri
2015-04-14
SUCCESS Duration: 151s

Subject

volume_id: fix a buglet introduced by is_prefixed_with() conversion

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/volume_id/get_devname.c+1 -1
@@ -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)