aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2015-02-01 15:00:06 +0100
committerKarel Zak <kzak@redhat.com>2015-02-02 10:57:07 +0100
commita4fbbbd49141bd9613f7adac2760071fbd8356bf (patch)
treeccc91d321b3c751612d371aee1f1cf8aded7d19c
parent625d00fefbcccda99bf507e41235bd25fc83225e (diff)
downloadutil-linux-playground-a4fbbbd49141bd9613f7adac2760071fbd8356bf.tar.gz
cfdisk: remove the mistaken B from the explanation of size suffixes
Also reword the explanation to be clearer. It is not necessary to be complete -- that is what the man page is for. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
-rw-r--r--disk-utils/cfdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 9455910f7c..f1d4745cff 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -1507,8 +1507,8 @@ static int ui_get_size(struct cfdisk *cf, const char *prompt, uintmax_t *res,
snprintf(buf, sizeof(buf), "%s", dflt);
rc = ui_get_string(cf, prompt,
- _("May be followed by {M,B,G,T}iB "
- "(the \"iB\" is optional) or S for sectors."),
+ _("May be followed by M for MiB, G for GiB, "
+ "T for TiB, or S for sectors."),
buf, sizeof(buf));
if (rc == 0) {
ui_warnx(_("Please, specify size."));