armv8-m/arm_svcall.c: Fix compiler warning
regs[REG_R0] is uint32_t type, but '%d' expects int type. Signed-off-by: Michael Jung <mijung@gmx.net>
This commit is contained in:
parent
9b679a7860
commit
33892dcc54
|
@ -453,7 +453,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: %d\n", (int)regs[REG_R0]);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue