mirror of
https://github.com/apache/nuttx.git
synced 2026-08-05 06:10:27 +00:00
arch/mips/src/mips32/mips_swint0.c: Fix a syslog format
This commit is contained in:
parent
7731de24e8
commit
4699e9dfde
1 changed files with 2 additions and 1 deletions
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <syscall.h>
|
||||
|
|
@ -289,7 +290,7 @@ int up_swint0(int irq, FAR void *context, FAR void *arg)
|
|||
|
||||
rtcb->flags |= TCB_FLAG_SYSCALL;
|
||||
#else
|
||||
svcerr("ERROR: Bad SYS call: %d\n", regs[REG_A0]);
|
||||
svcerr("ERROR: Bad SYS call: %" PRId32 "\n", regs[REG_A0]);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue