summaryrefslogtreecommitdiff
path: root/ext2fs/ext2fs.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-05-23 17:36:26 +0000
committerRoland McGrath <roland@gnu.org>1999-05-23 17:36:26 +0000
commit944b0b46d7613eeea93b4af6cfb80204ebc37abb (patch)
treecfa7d6b9b4ca47a17b659f80099b899d59af6cb4 /ext2fs/ext2fs.c
parentfeb070bf83046663beaabfe61a724f5283d7e8dc (diff)
1999-05-19 Roland McGrath <roland@baalperazim.frob.com>
* ext2fs.c (main): Include store size in panic msg when it's too small.
Diffstat (limited to 'ext2fs/ext2fs.c')
-rw-r--r--ext2fs/ext2fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c
index aac4d7bc..584e14ba 100644
--- a/ext2fs/ext2fs.c
+++ b/ext2fs/ext2fs.c
@@ -1,6 +1,6 @@
/* Main entry point for the ext2 file system translator
- Copyright (C) 1994, 95, 96, 97, 98 Free Software Foundation, Inc.
+ Copyright (C) 1994, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
Converted for ext2fs by Miles Bader <miles@gnu.ai.mit.edu>
@@ -144,7 +144,7 @@ main (int argc, char **argv)
&store_parsed, &bootstrap);
if (store->size < SBLOCK_OFFS + SBLOCK_SIZE)
- ext2_panic ("superblock won't fit on the device!");
+ ext2_panic ("device too small for superblock (%ld bytes)", store->size);
if (store->log2_blocks_per_page < 0)
ext2_panic ("device block size (%u) greater than page size (%d)",
store->block_size, vm_page_size);