diff --git a/arch/arm/src/arm/arm_prefetchabort.c b/arch/arm/src/arm/arm_prefetchabort.c index 64f1cc01e7..97375619da 100644 --- a/arch/arm/src/arm/arm_prefetchabort.c +++ b/arch/arm/src/arm/arm_prefetchabort.c @@ -24,6 +24,7 @@ #include +#include #include #include @@ -84,7 +85,7 @@ void arm_prefetchabort(uint32_t *regs) * virtual addresses. */ - pginfo("VADDR: %08x VBASE: %08x VEND: %08x\n", + pginfo("VADDR: %08" PRIx32 " VBASE: %08x VEND: %08x\n", regs[REG_PC], PG_PAGED_VBASE, PG_PAGED_VEND); if (regs[REG_R15] >= PG_PAGED_VBASE && regs[REG_R15] < PG_PAGED_VEND)