Changeset 5b045eb in rtems for cpukit/libblock


Ignore:
Timestamp:
Apr 3, 2012, 12:50:44 PM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
02c3f4d7, 58f6655
Parents:
ba56882
git-author:
Sebastian Huber <sebastian.huber@…> (04/03/12 12:50:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/03/12 13:03:18)
Message:

Filesystem: Change type of ioctl_return

Change the ioctl_return type of rtems_libio_ioctl_args_t to match the
ioctl() return value type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/blkdev.c

    rba56882 r5b045eb  
    184184    if (args->command != RTEMS_BLKIO_REQUEST)
    185185    {
    186         args->ioctl_return = (uint32_t) dd->ioctl(dd,
     186        args->ioctl_return = dd->ioctl(dd,
    187187                                                  args->command,
    188188                                                  args->buffer);
     
    194194         * cache.
    195195         */
    196         args->ioctl_return = (uint32_t) -1;
     196        args->ioctl_return = -1;
    197197    }
    198198
Note: See TracChangeset for help on using the changeset viewer.