diff options
author | Jan Janssen <medhefgo@web.de> | 2022-08-29 13:08:31 +0200 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2022-08-30 12:03:33 +0200 |
commit | 9cf6c94ebab8d80083e1fcfd6514db0e8f64c970 (patch) | |
tree | 5e1585ca3ff1ed98d719e31a8c2e54f03df52c93 /src/shared/efi-loader.c | |
parent | c0f86d66f3f6b561528e7f856f9926bec766c036 (diff) | |
download | systemd-9cf6c94ebab8d80083e1fcfd6514db0e8f64c970.tar.gz |
efivars: Parse into unsigned
The format specifiers for UUID parsing use %x, which expects unsigned.
Diffstat (limited to 'src/shared/efi-loader.c')
-rw-r--r-- | src/shared/efi-loader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/efi-loader.c b/src/shared/efi-loader.c index 3eed44a533..1340412cda 100644 --- a/src/shared/efi-loader.c +++ b/src/shared/efi-loader.c @@ -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; |