summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-04-25 13:56:31 -0500
committerJoel Sherrill <joel@rtems.org>2017-04-25 13:56:31 -0500
commitf6bd41e9abfbeca29b22d53522fced231154ad0c (patch)
tree472716028e72e24309fc7cadbb24f1b270b22cb8
parentepiphany/rtems/score/cpu.h: Fix printf() format warning (diff)
downloadrtems-f6bd41e9abfbeca29b22d53522fced231154ad0c.tar.bz2
moxie/rtems/score/cpu.h: Fix printf() format warning
-rw-r--r--cpukit/score/cpu/moxie/rtems/score/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/moxie/rtems/score/cpu.h b/cpukit/score/cpu/moxie/rtems/score/cpu.h
index a8b2263fb7..a3aac9ee41 100644
--- a/cpukit/score/cpu/moxie/rtems/score/cpu.h
+++ b/cpukit/score/cpu/moxie/rtems/score/cpu.h
@@ -625,7 +625,7 @@ uint32_t _CPU_ISR_Get_level( void );
* XXX
*/
#define _CPU_Fatal_halt( _source, _error ) \
- printk("Fatal Error %d.%d Halted\n",_source,_error); \
+ printk("Fatal Error %d.%lu Halted\n",_source,_error); \
for(;;)
/* end of Fatal Error manager macros */