From: Karel Zak Date: Thu, 6 Jan 2022 13:52:50 +0000 (+0100) Subject: libfdisk: (gpt) make fdisk -x output more readable X-Git-Tag: v2.38-rc1~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3afbdb58ea55a27b94a94c8fa28e79640d365ba5;p=thirdparty%2Futil-linux.git 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 --- 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;