diff options
author | Benno Schulenberg | 2013-10-11 15:52:07 +0200 |
---|---|---|
committer | Karel Zak | 2013-10-14 14:54:45 +0200 |
commit | 83217641543484241f1d5fd860115791c558bb26 (patch) | |
tree | d35322bfdfe5f9138cde7f093a87a05b1fb62a6f /libfdisk | |
parent | build-sys: fix tinfo congitional (diff) | |
download | kernel-qcow2-util-linux-83217641543484241f1d5fd860115791c558bb26.tar.gz kernel-qcow2-util-linux-83217641543484241f1d5fd860115791c558bb26.tar.xz kernel-qcow2-util-linux-83217641543484241f1d5fd860115791c558bb26.zip |
textual: equalize four error messages with already existing ones
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'libfdisk')
-rw-r--r-- | libfdisk/src/dos.c | 4 | ||||
-rw-r--r-- | libfdisk/src/gpt.c | 4 | ||||
-rw-r--r-- | libfdisk/src/sgi.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index 163a87b46..3aa40deea 100644 --- a/libfdisk/src/dos.c +++ b/libfdisk/src/dos.c @@ -808,8 +808,8 @@ static int add_partition(struct fdisk_context *cxt, int n, struct fdisk_parttype sys = t ? t->type : MBR_LINUX_DATA_PARTITION; if (p && p->sys_ind) { - fdisk_warnx(cxt, _("Partition %d is already defined. Delete " - "it before re-adding it."), n + 1); + fdisk_warnx(cxt, _("Partition %zd is already defined. " + "Delete it before re-adding it."), n + 1); return -EINVAL; } fill_bounds(cxt, first, last); diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c index 9536eb383..0692d158e 100644 --- a/libfdisk/src/gpt.c +++ b/libfdisk/src/gpt.c @@ -1658,8 +1658,8 @@ static int gpt_add_partition( ents = gpt->ents; if (!partition_unused(&ents[partnum])) { - fdisk_warnx(cxt, _("Partition %zd is already defined. " - "Delete it before re-adding it."), partnum +1); + fdisk_warnx(cxt, _("Partition %zd is already defined. " + "Delete it before re-adding it."), partnum +1); return -EINVAL; } if (le32_to_cpu(pheader->npartition_entries) == diff --git a/libfdisk/src/sgi.c b/libfdisk/src/sgi.c index 96e84f21c..ce2367595 100644 --- a/libfdisk/src/sgi.c +++ b/libfdisk/src/sgi.c @@ -977,7 +977,7 @@ static int sgi_create_disklabel(struct fdisk_context *cxt) } else { /* otherwise print error and use truncated version */ fdisk_warnx(cxt, - _("Warning: BLKGETSIZE ioctl failed on %s. " + _("BLKGETSIZE ioctl failed on %s. " "Using geometry cylinder value of %llu. " "This value may be truncated for devices " "> 33.8 GB."), cxt->dev_path, cxt->geom.cylinders); |