Changeset 75fc27ad in rtems


Ignore:
Timestamp:
Jul 26, 2016, 5:54:05 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ea93844
Parents:
00c620c
Message:

score: Fix printk() format specifiers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/arm_exc_handler_high.c

    r00c620c r75fc27ad  
    3636#include <rtems/score/cpu.h>
    3737
     38#include <inttypes.h>
     39
    3840#ifdef ARM_MULTILIB_ARCH_V4
    3941
     
    4345    printk("----------------------------------------------------------\n\r");
    4446#if 1
    45     printk("Exception 0x%x caught at PC 0x%x by thread %d\n",
    46            ctx->vector, ctx->register_lr - 4,
     47    printk("Exception 0x%x caught at PC 0x%" PRIxPTR
     48           " by thread 0x%" PRIx32 "\n",
     49           ctx->vector, (uintptr_t) ctx->register_lr - 4,
    4750           _Thread_Executing->Object.id);
    4851#endif
Note: See TracChangeset for help on using the changeset viewer.