diff options
author | Miles Bader <miles@gnu.org> | 1995-04-16 20:16:06 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-16 20:16:06 +0000 |
commit | df45a5b4cf234aca3bd21f962aed0c3823adc92d (patch) | |
tree | ae417d75baf386e599622a586ffe1d8dbd448945 /ext2fs/devio.c | |
parent | 53472d604a847f6f4cddeedf44acfbdd50524b7d (diff) |
Formerly devio.c.~3~
Diffstat (limited to 'ext2fs/devio.c')
-rw-r--r-- | ext2fs/devio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/devio.c b/ext2fs/devio.c index 7a6f4d23..1bb9b09f 100644 --- a/ext2fs/devio.c +++ b/ext2fs/devio.c @@ -31,7 +31,7 @@ dev_write_sync (daddr_t addr, { int foo; assert (!diskfs_readonly); - if (device_write (ext2fs_device, 0, addr, (io_buf_ptr_t) data, len, &foo) + if (device_write (device_port, 0, addr, (io_buf_ptr_t) data, len, &foo) || foo != len) return EIO; return 0; @@ -45,7 +45,7 @@ dev_write (daddr_t addr, long len) { assert (!diskfs_readonly); - if (device_write_request (ext2fs_device, MACH_PORT_NULL, 0, addr, + if (device_write_request (device_port, MACH_PORT_NULL, 0, addr, (io_buf_ptr_t) data, len)) return EIO; return 0; @@ -61,7 +61,7 @@ dev_read_sync (daddr_t addr, long len) { int foo; - deverr = device_read (ext2fs_device, 0, addr, len, (io_buf_ptr_t *)data, + deverr = device_read (device_port, 0, addr, len, (io_buf_ptr_t *)data, (u_int *)&foo); if (deverr || foo != len) return EIO; |