# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/util-linux/hotfix-bsd-disklabel.patch # Copyright (C) 2023 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- util-linux-2.38.1/libfdisk/src/bsd.c 2022-05-11 13:13:10.877531766 +0500 +++ util-linux-2.38.1-fixed/libfdisk/src/bsd.c 2023-07-18 20:56:54.209681000 +0500 @@ -378,7 +378,7 @@ int rc, yes = 0; struct bsd_disklabel *d = self_disklabel(cxt); - fdisk_info(cxt, _("The device %s does not contain BSD disklabel."), cxt->dev_path); + fdisk_info(cxt, _("The device %s does not contain BSD disklabel."), cxt->parent->dev_path); rc = fdisk_ask_yesno(cxt, _("Do you want to create a BSD disklabel?"), &yes);