When logging pool allocations, show the address of the pointer, not the pointer itself. This makes it easier to debug with sandbox
Signed-off-by: Simon Glass <s...@chromium.org> --- Changes in v4: - Add new patch to show the address for pool allocations lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 334a4d64b3f..3ea239fda41 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -533,7 +533,7 @@ static efi_status_t EFIAPI efi_free_pool_ext(void *buffer) { efi_status_t r; - EFI_ENTRY("%p", buffer); + EFI_ENTRY("%llx", (u64)map_to_sysmem(buffer)); r = efi_free_pool(buffer); return EFI_EXIT(r); } -- 2.43.0