diff options
author | Chris Johns <chrisj@rtems.org> | 2008-07-29 03:55:03 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2008-07-29 03:55:03 +0000 |
commit | 021cf6b58bd0caaf252c7ee709fc87ce1179cc4d (patch) | |
tree | 2faa76efa5fd444e95cc980288df3c3f1af179c9 /cpukit/libblock | |
parent | 2008-07-29 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-021cf6b58bd0caaf252c7ee709fc87ce1179cc4d.tar.bz2 |
2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/src/nvdisk.c: Fix block compile bug.
Diffstat (limited to 'cpukit/libblock')
-rw-r--r-- | cpukit/libblock/src/nvdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libblock/src/nvdisk.c b/cpukit/libblock/src/nvdisk.c index 4166d79c98..4652787769 100644 --- a/cpukit/libblock/src/nvdisk.c +++ b/cpukit/libblock/src/nvdisk.c @@ -606,7 +606,7 @@ rtems_nvdisk_read (rtems_nvdisk* nvd, rtems_blkdev_request* req) length = nvd->block_size; } - ret = rtems_nvdisk_read_block (nvd, block, sg->buffer); + ret = rtems_nvdisk_read_block (nvd, sg->block, sg->buffer); if (ret) break; @@ -647,7 +647,7 @@ rtems_nvdisk_write (rtems_nvdisk* nvd, rtems_blkdev_request* req) "bd:%d nvd:%d", sg->length, nvd->block_size); } - ret = rtems_nvdisk_write_block (nvd, block, sg->buffer); + ret = rtems_nvdisk_write_block (nvd, sg->block, sg->buffer); if (ret) break; |