Changeset fdfbb0a8 in rtems


Ignore:
Timestamp:
Apr 25, 2017, 6:39:50 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
f6bd41e
Parents:
7db09923
Message:

epiphany/rtems/score/cpu.h: Fix printf() format warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/epiphany/rtems/score/cpu.h

    r7db09923 rfdfbb0a8  
    639639 */
    640640
     641#include <inttypes.h>
     642
    641643#define _CPU_Fatal_halt(_source, _error ) \
    642           printk("Fatal Error %d.%d Halted\n",_source, _error); \
     644          printk("Fatal Error %d.%" PRIu32 " Halted\n",_source, _error); \
    643645          asm("trap 3" :: "r" (_error)); \
    644646          for(;;)
Note: See TracChangeset for help on using the changeset viewer.