From 160e402fadc58fdfc91fa3f6a67bc2d35093b424 Mon Sep 17 00:00:00 2001 From: Marco Oliverio Date: Mon, 29 Jan 2024 18:39:24 +0100 Subject: [PATCH] x86_fsp: fix: printf wrong parameter --- src/boot_x86_fsp_payload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot_x86_fsp_payload.c b/src/boot_x86_fsp_payload.c index bd3e60ba..7f0d89b7 100644 --- a/src/boot_x86_fsp_payload.c +++ b/src/boot_x86_fsp_payload.c @@ -120,7 +120,7 @@ void do_boot(const uint32_t *app) mptable_setup(); x86_paging_dump_info(); r = elf_load_image_mmu((uint8_t *)app, &e, mmu_cb); - wolfBoot_printf("Elf loaded (ret %d), entry 0x%x_%x\r\n", 0, + wolfBoot_printf("Elf loaded (ret %d), entry 0x%x_%x\r\n", r, (uint32_t)(e >> 32), (uint32_t)(e)); x86_paging_dump_info();