OSDN Git Service

mke2fs: fix mke2fs "invalid inode ratio" error message
authorTim Small <tim@seoss.co.uk>
Sat, 31 Jul 2010 00:43:11 +0000 (20:43 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 31 Jul 2010 00:43:11 +0000 (20:43 -0400)
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>
misc/mke2fs.c

index ac87b8e..e725cd1 100644 (file)
@@ -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;