aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-06-15 16:44:58 -0400
committerTom Rini <trini@konsulko.com>2020-06-15 16:44:58 -0400
commitc622afb0874e57cd7e9df51855e35286fa46aab7 (patch)
tree0e93777492b0dc0b2263c0cd2704e8fed1a39819 /lib
parente88d6979d1fa0a11468204fa729229afc49d5bde (diff)
parent4bb4249b39ce7284408c4d604a656be941427e63 (diff)
downloadu-boot-c622afb0874e57cd7e9df51855e35286fa46aab7.zip
u-boot-c622afb0874e57cd7e9df51855e35286fa46aab7.tar.gz
u-boot-c622afb0874e57cd7e9df51855e35286fa46aab7.tar.bz2
Merge tag 'efi-2020-07-rc5' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2020-07-rc5 Use correct printf code in efi_image_parse(). Add random number generation to HTML documentation.
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_image_loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_image_loader.c b/lib/efi_loader/efi_image_loader.c
index 478aaf5..230d41a 100644
--- a/lib/efi_loader/efi_image_loader.c
+++ b/lib/efi_loader/efi_image_loader.c
@@ -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);