]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: remove the mistaken B from the explanation of size suffixes
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 1 Feb 2015 14:00:06 +0000 (15:00 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Feb 2015 09:57:07 +0000 (10:57 +0100)
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>
disk-utils/cfdisk.c

index 9455910f7c64b88970d43d63fe226a658c1169ae..f1d4745cff5d614b356fe2f03dde6a2819729640 100644 (file)
@@ -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."));