From: Darrick J. Wong Date: Thu, 12 Dec 2013 17:29:07 +0000 (-0500) Subject: debugfs: fix init_filesys help text X-Git-Tag: v1.42.9~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57d4fb66d237fd8b734d2aa6b13502fac9c6e5a3;p=thirdparty%2Fe2fsprogs.git debugfs: fix init_filesys help text The help text for debugfs' init_filesys command is incorrect; the second parameter is the size of the filesystem in blocks, not the size of an individual filesystem block. There is in fact no way to set that parameter. Reported-by: Zheng Liu Signed-off-by: Darrick J. Wong Signed-off-by: "Theodore Ts'o" --- diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index 902ee664d..f8701290c 100644 --- a/debugfs/debugfs.c +++ b/debugfs/debugfs.c @@ -280,7 +280,7 @@ void do_init_filesys(int argc, char **argv) int err; if (common_args_process(argc, argv, 3, 3, "initialize", - " ", CHECK_FS_NOTOPEN)) + " ", CHECK_FS_NOTOPEN)) return; memset(¶m, 0, sizeof(struct ext2_super_block));