From f6bd41e9abfbeca29b22d53522fced231154ad0c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 25 Apr 2017 13:56:31 -0500 Subject: moxie/rtems/score/cpu.h: Fix printf() format warning --- cpukit/score/cpu/moxie/rtems/score/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3