arch/arm/src/arm/arm_dataabort.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi 2020-11-28 10:12:02 +09:00 committed by Xiang Xiao
parent 9689720940
commit 18bfb39552
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@
#include <nuttx/config.h>
#include <inttypes.h>
#include <stdint.h>
#include <debug.h>
@ -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;