Changeset 9e6ef36 in rtems


Ignore:
Timestamp:
Apr 26, 2017, 1:14:28 AM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
b73b952
Parents:
03e4be1
Message:

rtems/inttypes.h, block08: Add and use PRIdrtems_blkdev_bnum

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/inttypes.h

    r03e4be1 r9e6ef36  
    138138#define PRIdioctl_command_t PRId32
    139139
    140 /* rtems_vector_number */
    141 #define PRIdrtems_vector_number PRId32
     140/* rtems_blkdev_bnum */
     141#define PRIdrtems_blkdev_bnum PRId32
     142
     143/* rtems_blkdev_bnum */
     144#define PRIdrtems_blkdev_bnum PRId32
    142145
    143146/**@}*/
  • testsuites/libtests/block08/bdbuf_tests.c

    r03e4be1 r9e6ef36  
    141141    while ((disk = rtems_disk_next(dev)) != NULL)
    142142    {
    143         printk("DEV: %s [%lu]\n", disk->name, disk->size);
     143        printk(
     144          "DEV: %s [%" PRIdrtems_blkdev_bnum "]\n",
     145         disk->name,
     146          disk->size
     147        );
    144148        dev = disk->dev;
    145149        if (strcmp(disk->name, TEST_DISK_NAME) == 0)
Note: See TracChangeset for help on using the changeset viewer.