[PATCH 4/8] libfdisk: (gpt) reword two error messages with a sense of direction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
---
 libfdisk/src/gpt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c
index 2b2f519..39c93bb 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);
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux