Changeset 90033411 in rtems


Ignore:
Timestamp:
Apr 23, 2017, 5:54:23 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
12c12e0
Parents:
473a3cd
Message:

fb/fb.c: Include <rtems/inttypes.h> and use PRI constant to fix warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/gumstix/fb/fb.c

    r473a3cd r90033411  
    1616#include <bsp.h>
    1717#include <rtems/libio.h>
    18 
     18#include <rtems/bspIo.h>
     19
     20#include <rtems.h>
     21#include <rtems/inttypes.h>
    1922#include <rtems/fb.h>
    2023#include <rtems/framebuffer.h>
    21 #include <rtems.h>
    2224
    2325#define SCREEN_WIDTH 640
     
    206208{
    207209  rtems_libio_ioctl_args_t *args = arg;
    208   printk( "FBSKYEYE ioctl called, cmd=%x\n", args->command  );
     210  printk(
     211    "FBSKYEYE ioctl called, cmd=%" PRIdioctl_command_t "\n",
     212    args->command
     213  );
    209214  switch( args->command )
    210215    {
Note: See TracChangeset for help on using the changeset viewer.