Changeset ab77827 in rtems


Ignore:
Timestamp:
Apr 26, 2017, 1:01:10 AM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
65807379
Parents:
c723ee4
Message:

or1k/generic_or1k/irq/irq.c: Include <rtems/inttypes.h> and fix printf() format warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/or1k/generic_or1k/irq/irq.c

    rc723ee4 rab77827  
    1717#include <bsp/irq.h>
    1818#include <bsp/irq-generic.h>
     19#include <rtems/inttypes.h>
    1920
    2021/* Almost all of the jobs that the following functions should
     
    2425void bsp_interrupt_handler_default(rtems_vector_number vector)
    2526{
    26     printk("spurious interrupt: %u\n", vector);
     27    printk("spurious interrupt: %" PRIdrtems_vector_number "\n", vector);
    2728}
    2829
Note: See TracChangeset for help on using the changeset viewer.