diff --git a/src/udev/udev-builtin-blkid.c b/src/udev/udev-builtin-blkid.c index 3dc8c057e5..aa56215825 100644 --- a/src/udev/udev-builtin-blkid.c +++ b/src/udev/udev-builtin-blkid.c @@ -150,7 +150,7 @@ static int find_gpt_root(UdevEvent *event, blkid_probe pr, const char *loop_back r = efi_loader_get_device_part_uuid(&esp_or_xbootldr); if (r < 0) { - if (r != -ENOENT && !ERRNO_IS_NOT_SUPPORTED(r)) + if (r != -ENOENT && !ERRNO_IS_NEG_NOT_SUPPORTED(r)) return log_debug_errno(r, "Unable to determine loader partition UUID: %m"); log_device_debug(dev, "No loader partition UUID EFI variable set, not using partition data to search for default root block device.");