summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Small <tim@seoss.co.uk>2010-07-30 20:43:11 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-07-30 20:43:11 -0400
commite447ba3731b8f6849e4df4c8081b73a9c99a23f4 (patch)
treeb9c3a34b46c47f766e3449388ca1894d81d50804
parenteddf36bac0af31008d8babfa53072203582aecae (diff)
downloade2fsprogs-e447ba3731b8f6849e4df4c8081b73a9c99a23f4.tar.gz
mke2fs: fix mke2fs "invalid inode ratio" error message
Make error message consistent with the validity test. Signed-off-by: Tim Small <tim@seoss.co.uk> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--misc/mke2fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index ac87b8ec..e725cd10 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -1285,7 +1285,7 @@ static void PRS(int argc, char *argv[])
com_err(program_name, 0,
_("invalid inode ratio %s (min %d/max %d)"),
optarg, EXT2_MIN_BLOCK_SIZE,
- EXT2_MAX_BLOCK_SIZE);
+ EXT2_MAX_BLOCK_SIZE * 1024);
exit(1);
}
break;