mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-31 04:18:09 +08:00
score/cpu/or1k/rtems/score/cpu.h: Fix printf() format warning
This commit is contained in:
@@ -647,8 +647,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.%" PRId32 " Halted\n",_source, _error); \
|
||||
_OR1KSIM_CPU_Halt(); \
|
||||
for(;;)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user