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

This commit is contained in:
YAMAMOTO Takashi 2020-11-21 09:22:01 +09:00 committed by Xiang Xiao
parent 648e0610c5
commit 6955404a3d

View File

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