mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-06 20:39:14 +08:00
epiphany/rtems/score/cpu.h: Fix printf() format warning
This commit is contained in:
1 parent
7db09923fb
commit
fdfbb0a89f
1 file changed
+3
-1
@@ -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(;;)
|
||||
|
||||
|
||||
Reference in new issue
Block a user