summaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.c
diff options
context:
space:
mode:
authorBenno Schulenberg2015-02-01 15:00:07 +0100
committerKarel Zak2015-02-02 10:57:07 +0100
commit143d9e3e524a67d9e80c62c7c63d5d5ae351124a (patch)
treeae6f4dc86308c8754d3089c2263a3e0b739dbaef /disk-utils/cfdisk.c
parentcfdisk: remove the mistaken B from the explanation of size suffixes (diff)
downloadkernel-qcow2-util-linux-143d9e3e524a67d9e80c62c7c63d5d5ae351124a.tar.gz
kernel-qcow2-util-linux-143d9e3e524a67d9e80c62c7c63d5d5ae351124a.tar.xz
kernel-qcow2-util-linux-143d9e3e524a67d9e80c62c7c63d5d5ae351124a.zip
cfdisk: improve wording and consistency of the size warnings
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'disk-utils/cfdisk.c')
-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 f1d4745cf..f414f55e8 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -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)