From: Tim Small Date: Sat, 31 Jul 2010 00:43:11 +0000 (-0400) Subject: mke2fs: fix mke2fs "invalid inode ratio" error message X-Git-Tag: v1.41.13~37 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=e447ba3731b8f6849e4df4c8081b73a9c99a23f4;p=tools%2Fe2fsprogs.git mke2fs: fix mke2fs "invalid inode ratio" error message Make error message consistent with the validity test. Signed-off-by: Tim Small Signed-off-by: "Theodore Ts'o" --- diff --git a/misc/mke2fs.c b/misc/mke2fs.c index ac87b8e..e725cd1 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;