arch/arm/src/armv7-m/arm_svcall.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-20 17:57:58 +09:00 committed by Xiang Xiao
parent a1c7ea1dae
commit 4cf3b2d1aa

@ -24,6 +24,7 @@
#include <nuttx/config.h>
#include <inttypes.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
@ -453,7 +454,7 @@ int arm_svcall(int irq, FAR void *context, FAR void *arg)
rtcb->flags |= TCB_FLAG_SYSCALL;
#else
svcerr("ERROR: Bad SYS call: %d\n", regs[REG_R0]);
svcerr("ERROR: Bad SYS call: %" PRId32 "\n", regs[REG_R0]);
#endif
}
break;