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 | |
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.
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libblock/src/nvdisk.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 1a5257688f..b84d5db41b 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,9 @@ 2008-07-29 Chris Johns <chrisj@rtems.org> + * libblock/src/nvdisk.c: Fix block compile bug. + +2008-07-29 Chris Johns <chrisj@rtems.org> + * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c: Update the comments. 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; |