textual: equalize four error messages with already existing ones

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
This commit is contained in:
Benno Schulenberg 2013-10-11 15:52:07 +02:00 committed by Karel Zak
parent b88e6b027c
commit 8321764154
4 changed files with 6 additions and 6 deletions

View File

@ -713,7 +713,7 @@ static struct fsck_instance *wait_one(int flags)
warnx(_("wait: no more child process?!?"));
return NULL;
}
warn(_("waidpid failed"));
warn(_("waitpid failed"));
continue;
}
for (prev = 0, inst = instance_list;

View File

@ -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);

View File

@ -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) ==

View File

@ -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);