From 1967805b91f87da4647cdb11c3a904dcf6fc0339 Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Wed, 27 Apr 2022 09:39:21 -0300 Subject: [PATCH] risc-v: Fix format specifier in debug log Signed-off-by: Gustavo Henrique Nihei --- arch/risc-v/src/common/riscv_swint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/risc-v/src/common/riscv_swint.c b/arch/risc-v/src/common/riscv_swint.c index 53f4e1db7f..8a117d6633 100644 --- a/arch/risc-v/src/common/riscv_swint.c +++ b/arch/risc-v/src/common/riscv_swint.c @@ -555,7 +555,7 @@ int riscv_swint(int irq, void *context, void *arg) } else { - svcinfo("SWInt Return: %d\n", regs[REG_A0]); + svcinfo("SWInt Return: %" PRIxPTR "\n", regs[REG_A0]); } #endif