mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
arch/risc-v/src/rv64gc/riscv_swint.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
c934214bb3
commit
982061a9e0
@@ -39,6 +39,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 up_swint(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_A0]);
|
svcerr("ERROR: Bad SYS call: %" PRId64 "\n", regs[REG_A0]);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user