diff options
author | Miles Bader <miles@gnu.org> | 1995-04-16 20:16:09 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-16 20:16:09 +0000 |
commit | 03c6a32a652f53cae81de8afccf23f5eaec9e790 (patch) | |
tree | 990ee48e1ed658d3464b8d9d6be5d7acbc999daa /ext2fs | |
parent | df45a5b4cf234aca3bd21f962aed0c3823adc92d (diff) |
Formerly ext2fs.c.~9~
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/ext2fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c index e3610609..8f47cdef 100644 --- a/ext2fs/ext2fs.c +++ b/ext2fs/ext2fs.c @@ -206,7 +206,7 @@ main (int argc, char **argv) err = device_open (diskfs_master_device, (diskfs_readonly ? 0 : D_WRITE) | D_READ, - device_name, &ext2fs_device); + device_name, &device_port); if (err == D_NO_SUCH_DEVICE && getpid () <= 0) { /* Prompt the user to give us another name rather @@ -225,7 +225,7 @@ main (int argc, char **argv) error(1, errno, "%s", device_name); /* Check to make sure device sector size is reasonable. */ - err = device_get_status (ext2fs_device, DEV_GET_SIZE, sizes, &sizescnt); + err = device_get_status (device_port, DEV_GET_SIZE, sizes, &sizescnt); assert (sizescnt == DEV_GET_SIZE_COUNT); if (sizes[DEV_GET_SIZE_RECORD_SIZE] != DEV_BSIZE) error(1, 0, "Bad device record size %d (should be %d)\n", |