diff options
author | Joel Sherrill <joel@rtems.org> | 2017-04-25 13:39:50 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-25 13:39:50 -0500 |
commit | fdfbb0a89f09ebb11744e641cb1ad68faf2b8d68 (patch) | |
tree | a2f12723d9d4b55d05ad5b8d2645e44b9c6bca5e /cpukit/score/cpu/epiphany/rtems/score/cpu.h | |
parent | rtems/inttypes.h epiphany_sim/irq/irq.c: Add PRIdrtems_vector_number and use it (diff) | |
download | rtems-fdfbb0a89f09ebb11744e641cb1ad68faf2b8d68.tar.bz2 |
epiphany/rtems/score/cpu.h: Fix printf() format warning
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/epiphany/rtems/score/cpu.h | 4 |
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(;;) |