arch/arm/src/armv6-m/arm_svcall.c: Fix a syslog format
This commit is contained in:
parent
648e0610c5
commit
6955404a3d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user