mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
risc-v: Fix format specifier in debug log
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
670ea1e5fb
commit
1967805b91
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user