From 18bfb3955217437e3d4b9bbbc359a00d1de791aa Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 28 Nov 2020 10:12:02 +0900 Subject: [PATCH] arch/arm/src/arm/arm_dataabort.c: Fix syslog formats --- arch/arm/src/arm/arm_dataabort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/arm/arm_dataabort.c b/arch/arm/src/arm/arm_dataabort.c index 9bc586258a..4af3ee79e7 100644 --- a/arch/arm/src/arm/arm_dataabort.c +++ b/arch/arm/src/arm/arm_dataabort.c @@ -24,6 +24,7 @@ #include +#include #include #include @@ -92,7 +93,7 @@ void arm_dataabort(uint32_t *regs, uint32_t far, uint32_t fsr) * fatal error. */ - pginfo("FSR: %08x FAR: %08x\n", fsr, far); + pginfo("FSR: %08" PRIx32 " FAR: %08" PRIx32 "\n", fsr, far); if ((fsr & FSR_MASK) != FSR_PAGE) { goto segfault;