summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/epiphany/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/epiphany/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/epiphany/rtems/score/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/cpu/epiphany/rtems/score/cpu.h b/cpukit/score/cpu/epiphany/rtems/score/cpu.h
index 020d949586..34ac8ae6c6 100644
--- a/cpukit/score/cpu/epiphany/rtems/score/cpu.h
+++ b/cpukit/score/cpu/epiphany/rtems/score/cpu.h
@@ -638,8 +638,10 @@ void _CPU_Context_Initialize(
*
*/
+#include <inttypes.h>
+
#define _CPU_Fatal_halt(_source, _error ) \
- printk("Fatal Error %d.%d Halted\n",_source, _error); \
+ printk("Fatal Error %d.%" PRIu32 " Halted\n",_source, _error); \
asm("trap 3" :: "r" (_error)); \
for(;;)