From 3afbdb58ea55a27b94a94c8fa28e79640d365ba5 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 6 Jan 2022 14:52:50 +0100 Subject: [PATCH] libfdisk: (gpt) make fdisk -x output more readable The field "First LBA" is confusing; let's use "First usable LBA" as it's the official UEFI name for the field. Addresses: https://github.com/util-linux/util-linux/issues/1554 Signed-off-by: Karel Zak --- libfdisk/src/gpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c index 3ab0e74ff5..07665a825a 100644 --- a/libfdisk/src/gpt.c +++ b/libfdisk/src/gpt.c @@ -1299,12 +1299,12 @@ static int gpt_get_disklabel_item(struct fdisk_context *cxt, struct fdisk_labeli rc = -ENOMEM; break; case GPT_LABELITEM_FIRSTLBA: - item->name = _("First LBA"); + item->name = _("First usable LBA"); item->type = 'j'; item->data.num64 = le64_to_cpu(h->first_usable_lba); break; case GPT_LABELITEM_LASTLBA: - item->name = _("Last LBA"); + item->name = _("Last usable LBA"); item->type = 'j'; item->data.num64 = le64_to_cpu(h->last_usable_lba); break; -- 2.47.2