mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
efi_loader: printf code in efi_image_parse()
For size_t we have to use %zu for printing not %lu.
Fixes: 4540dabdca
("efi_loader: image_loader: support image
authentication")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
c7ff87e0ae
commit
4bb4249b39
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ bool efi_image_parse(void *efi, size_t len, struct efi_image_regions **regp,
|
|||
|
||||
/* 3. Extra data excluding Certificates Table */
|
||||
if (bytes_hashed + authsz < len) {
|
||||
debug("extra data for hash: %lu\n",
|
||||
debug("extra data for hash: %zu\n",
|
||||
len - (bytes_hashed + authsz));
|
||||
efi_image_region_add(regs, efi + bytes_hashed,
|
||||
efi + len - authsz, 0);
|
||||
|
|
Loading…
Reference in a new issue