aboutsummaryrefslogtreecommitdiffstats
path: root/disk-utils/sfdisk.c
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2016-03-16 09:55:48 +0100
committerKarel Zak <kzak@redhat.com>2016-03-16 10:39:34 +0100
commit1a60a5ecb01825aebcb6d4e2fab3d2b42b8816dd (patch)
treed6f0ecd1910d1a8657506b6e0e3296308b54ac4f /disk-utils/sfdisk.c
parent72e948094bc5257b3f38b21d2ef8e575dedebcc2 (diff)
downloadutil-linux-1a60a5ecb01825aebcb6d4e2fab3d2b42b8816dd.tar.gz
sfdisk: improve the wording of seven error messages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'disk-utils/sfdisk.c')
-rw-r--r--disk-utils/sfdisk.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c
index cc077f06bc..f1ddd9cb84 100644
--- a/disk-utils/sfdisk.c
+++ b/disk-utils/sfdisk.c
@@ -372,19 +372,19 @@ static int move_partition_data(struct sfdisk *sf, size_t partno, struct fdisk_pa
assert(sf->movedata);
if (!pa)
- warnx(_("failed to read new partition from device (ignore --move-data)"));
+ warnx(_("failed to read new partition from device; ignoring --move-data"));
else if (!fdisk_partition_has_size(pa))
- warnx(_("failed to get size of the new partition (ignore --move-data)"));
+ warnx(_("failed to get size of the new partition; ignoring --move-data"));
else if (!fdisk_partition_has_start(pa))
- warnx(_("failed to get start of the new partition (ignore --move-data)"));
+ warnx(_("failed to get start of the new partition; ignoring --move-data"));
else if (!fdisk_partition_has_size(orig_pa))
- warnx(_("failed to get size of the old partition (ignore --move-data)"));
+ warnx(_("failed to get size of the old partition; ignoring --move-data"));
else if (!fdisk_partition_has_start(orig_pa))
- warnx(_("failed to get start of the old partition (ignore --move-data)"));
+ warnx(_("failed to get start of the old partition; ignoring --move-data"));
else if (fdisk_partition_get_start(pa) == fdisk_partition_get_start(orig_pa))
- warnx(_("begin of the partition has not been moved (ignore --move-data)"));
+ warnx(_("start of the partition has not been moved; ignoring --move-data"));
else if (fdisk_partition_get_size(orig_pa) < fdisk_partition_get_size(pa))
- warnx(_("new partition is smaller than original (ignore --move-data)"));
+ warnx(_("new partition is smaller than original; ignoring --move-data"));
else
ok = 1;
if (!ok)