mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/src/nvdisk.c: Fix block compile bug.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user