From 943703d65b330e63d2443b6fac5d46e6829d0b2c Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 16 Apr 1995 23:51:03 +0000 Subject: Formerly ext2fs.c.~11~ --- ext2fs/ext2fs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c index 2750f4d0..84c68091 100644 --- a/ext2fs/ext2fs.c +++ b/ext2fs/ext2fs.c @@ -227,10 +227,8 @@ main (int argc, char **argv) /* Check to make sure device sector size is reasonable. */ 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", - sizes[DEV_GET_SIZE_RECORD_SIZE], DEV_BSIZE); - + + device_block_size = sizes[DEV_GET_SIZE_RECORD_SIZE]; device_size = sizes[DEV_GET_SIZE_DEVICE_SIZE]; assert (device_size >= SBLOCK_OFFS + SBLOCK_SIZE); -- cgit v1.2.3