2008-07-29 Chris Johns <chrisj@rtems.org>

* libblock/src/nvdisk.c: Fix block compile bug.
This commit is contained in:
Chris Johns
2008-07-29 03:55:03 +00:00
parent c21c850ec7
commit 021cf6b58b
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
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:

View File

@@ -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;