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
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@
#include <nuttx/config.h>
#include <inttypes.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
@ -439,7 +440,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;