risc-v: Fix format specifier in debug log

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-04-27 09:39:21 -03:00 committed by Xiang Xiao
parent 670ea1e5fb
commit 1967805b91

View File

@ -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