mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
arch/arm/src/arm/arm_dataabort.c: Fix syslog formats
This commit is contained in:
committed by
Xiang Xiao
parent
9689720940
commit
18bfb39552
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
@@ -92,7 +93,7 @@ void arm_dataabort(uint32_t *regs, uint32_t far, uint32_t fsr)
|
|||||||
* fatal error.
|
* 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)
|
if ((fsr & FSR_MASK) != FSR_PAGE)
|
||||||
{
|
{
|
||||||
goto segfault;
|
goto segfault;
|
||||||
|
|||||||
Reference in New Issue
Block a user