summaryrefslogtreecommitdiff
path: root/ext2fs/devio.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-28 15:48:14 +0000
committerMiles Bader <miles@gnu.org>1995-04-28 15:48:14 +0000
commit534c1ce38f16b63fe4c2ae8b2af1131009f91c69 (patch)
treeaef0aa24c184d30249a8db6c56c8f2d43cbed42c /ext2fs/devio.c
parent9b19234ea0e7bfc8741511b35a84ace87646b439 (diff)
Formerly devio.c.~7~
Diffstat (limited to 'ext2fs/devio.c')
-rw-r--r--ext2fs/devio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/devio.c b/ext2fs/devio.c
index 3e12f911..f9ed06f4 100644
--- a/ext2fs/devio.c
+++ b/ext2fs/devio.c
@@ -25,7 +25,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Write disk block ADDR with DATA of LEN bytes, waiting for completion. */
error_t
-dev_write_sync (daddr_t addr, vm_address_t data, long len)
+dev_write_sync (block_t addr, vm_address_t data, long len)
{
int written;
assert (!diskfs_readonly);
@@ -38,7 +38,7 @@ dev_write_sync (daddr_t addr, vm_address_t data, long len)
/* Read disk block ADDR; put the address of the data in DATA; read LEN
bytes. Always *DATA should be a full page no matter what. */
error_t
-dev_read_sync (daddr_t addr, vm_address_t *data, long len)
+dev_read_sync (block_t addr, vm_address_t *data, long len)
{
u_int read;
if (device_read (device_port, 0, addr, len, (io_buf_ptr_t *)data, &read)