mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 10:30:56 +08:00
epiphany/rtems/score/cpu.h: Fix printf() format warning
This commit is contained in:
@@ -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