diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2010-01-19 09:10:03 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2010-01-19 09:10:03 +0000 |
commit | 5c587596f09da0c52528bcb6a0c3726fcd2cfb07 (patch) | |
tree | f3cf6cc9b9cea5f8313e673dc6e8f17b1f928c02 /cpukit/libblock/src/flashdisk.c | |
parent | updates and new test cases (diff) | |
download | rtems-5c587596f09da0c52528bcb6a0c3726fcd2cfb07.tar.bz2 |
libblock API update
Diffstat (limited to 'cpukit/libblock/src/flashdisk.c')
-rw-r--r-- | cpukit/libblock/src/flashdisk.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/libblock/src/flashdisk.c b/cpukit/libblock/src/flashdisk.c index 79f860126d..a1c8ea5036 100644 --- a/cpukit/libblock/src/flashdisk.c +++ b/cpukit/libblock/src/flashdisk.c @@ -2071,8 +2071,7 @@ rtems_fdisk_read (rtems_flashdisk* fd, rtems_blkdev_request* req) } } - req->req_done (req->done_arg, - ret ? RTEMS_SUCCESSFUL : RTEMS_IO_ERROR, ret); + req->req_done (req->done_arg, ret ? RTEMS_SUCCESSFUL : RTEMS_IO_ERROR); return ret; } @@ -2107,8 +2106,7 @@ rtems_fdisk_write (rtems_flashdisk* fd, rtems_blkdev_request* req) } } - req->req_done (req->done_arg, - ret ? RTEMS_SUCCESSFUL : RTEMS_IO_ERROR, ret); + req->req_done (req->done_arg, ret ? RTEMS_SUCCESSFUL : RTEMS_IO_ERROR); return 0; } |