efivars: Parse into unsigned

The format specifiers for UUID parsing use %x, which expects unsigned.
This commit is contained in:
Jan Janssen
2022-08-30 12:03:33 +02:00
parent c0f86d66f3
commit 9cf6c94eba
+2 -1
View File
@@ -60,7 +60,8 @@ int efi_loader_get_boot_usec(usec_t *ret_firmware, usec_t *ret_loader) {
int efi_loader_get_device_part_uuid(sd_id128_t *ret) {
_cleanup_free_ char *p = NULL;
int r, parsed[16];
int r;
unsigned parsed[16];
if (!is_efi_boot())
return -EOPNOTSUPP;