From: Benno Schulenberg Date: Wed, 16 Mar 2016 08:55:51 +0000 (+0100) Subject: libfdisk: (gpt) reword two error messages with a sense of direction X-Git-Tag: v2.28-rc2~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=614ddddfc170ae5f5bb74d74b8b4b4c4f226c42f;p=thirdparty%2Futil-linux.git libfdisk: (gpt) reword two error messages with a sense of direction Signed-off-by: Benno Schulenberg --- diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c index 2b2f519124..39c93bb9e7 100644 --- a/libfdisk/src/gpt.c +++ b/libfdisk/src/gpt.c @@ -1745,14 +1745,14 @@ static int gpt_set_partition(struct fdisk_context *cxt, size_t n, if (!FDISK_IS_UNDEF(start)) { if (start < le64_to_cpu(gpt->pheader->first_usable_lba)) { - fdisk_warnx(cxt, _("The begin of the partition overflows FirstUsableLBA.")); + fdisk_warnx(cxt, _("The start of the partition understeps FirstUsableLBA.")); return -EINVAL; } e->lba_start = cpu_to_le64(start); } if (!FDISK_IS_UNDEF(end)) { if (end > le64_to_cpu(gpt->pheader->last_usable_lba)) { - fdisk_warnx(cxt, _("The end of the partition overflows LastUsableLBA.")); + fdisk_warnx(cxt, _("The end of the partition oversteps LastUsableLBA.")); return -EINVAL; } e->lba_end = cpu_to_le64(end);