* [PATCH] mke2fs: Fix up usage & error text for cluster size specification
@ 2011-10-04 22:12 Eric Sandeen
2011-10-05 6:01 ` Ted Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2011-10-04 22:12 UTC (permalink / raw)
To: ext4 development
Commit c6ed60cd removed "f" (fragment size) from the getopt string,
and re-used its spot in the getopt switch, but didn't update the
usage message or the error message during parsing.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index c439e37..0a50f3a 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -113,7 +113,7 @@ int linux_version_code = 0;
static void usage(void)
{
fprintf(stderr, _("Usage: %s [-c|-l filename] [-b block-size] "
- "[-f fragment-size]\n\t[-i bytes-per-inode] [-I inode-size] "
+ "[-C cluster-size]\n\t[-i bytes-per-inode] [-I inode-size] "
"[-J journal-options]\n"
"\t[-G meta group size] [-N number-of-inodes]\n"
"\t[-m reserved-blocks-percentage] [-o creator-os]\n"
@@ -1324,7 +1324,7 @@ profile_error:
if (cluster_size < EXT2_MIN_CLUSTER_SIZE ||
cluster_size > EXT2_MAX_CLUSTER_SIZE || *tmp) {
com_err(program_name, 0,
- _("invalid fragment size - %s"),
+ _("invalid cluster size - %s"),
optarg);
exit(1);
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mke2fs: Fix up usage & error text for cluster size specification
2011-10-04 22:12 [PATCH] mke2fs: Fix up usage & error text for cluster size specification Eric Sandeen
@ 2011-10-05 6:01 ` Ted Ts'o
0 siblings, 0 replies; 2+ messages in thread
From: Ted Ts'o @ 2011-10-05 6:01 UTC (permalink / raw)
To: Eric Sandeen; +Cc: ext4 development
On Tue, Oct 04, 2011 at 05:12:11PM -0500, Eric Sandeen wrote:
> Commit c6ed60cd removed "f" (fragment size) from the getopt string,
> and re-used its spot in the getopt switch, but didn't update the
> usage message or the error message during parsing.
>
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Thanks, applied.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-05 6:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-04 22:12 [PATCH] mke2fs: Fix up usage & error text for cluster size specification Eric Sandeen
2011-10-05 6:01 ` Ted Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).