]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: improve wording and consistency of the size warnings
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 1 Feb 2015 14:00:07 +0000 (15:00 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Feb 2015 09:57:07 +0000 (10:57 +0100)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/cfdisk.c

index f1d4745cff5d614b356fe2f03dde6a2819729640..f414f55e8587eadd54701e7897b7199bf5e952ee 100644 (file)
@@ -1533,7 +1533,7 @@ static int ui_get_size(struct cfdisk *cf, const char *prompt, uintmax_t *res,
                        if (insec)
                                user *= fdisk_get_sector_size(cf->cxt);
                        if (user < low) {
-                               ui_warnx(_("Minimal size is %ju"), low);
+                               ui_warnx(_("Minimum size is %ju bytes."), low);
                                rc = -ERANGE;
                        }
                        if (user > up && pwr && user < up + (1ULL << pwr * 10))
@@ -1542,7 +1542,7 @@ static int ui_get_size(struct cfdisk *cf, const char *prompt, uintmax_t *res,
                                user = up;
 
                        if (user > up) {
-                               ui_warnx(_("Maximal size is %ju bytes."), up);
+                               ui_warnx(_("Maximum size is %ju bytes."), up);
                                rc = -ERANGE;
                        }
                        if (rc == 0 && insec && expsize)