arch/arm/src/arm/arm_dataabort.c: Fix syslog formats
This commit is contained in:
parent
9689720940
commit
18bfb39552
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue