* added python-wheel (0.42.0) - The official binary distribution format for Python
[t2sde.git] / package / base / util-linux / hotfix-bsd-disklabel.patch
blob0ad1d5514ed29eb12928e665eb6bf45a15c66d06
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/util-linux/hotfix-bsd-disklabel.patch
3 # Copyright (C) 2023 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- util-linux-2.38.1/libfdisk/src/bsd.c 2022-05-11 13:13:10.877531766 +0500
15 +++ util-linux-2.38.1-fixed/libfdisk/src/bsd.c 2023-07-18 20:56:54.209681000 +0500
16 @@ -378,7 +378,7 @@
17 int rc, yes = 0;
18 struct bsd_disklabel *d = self_disklabel(cxt);
20 - fdisk_info(cxt, _("The device %s does not contain BSD disklabel."), cxt->dev_path);
21 + fdisk_info(cxt, _("The device %s does not contain BSD disklabel."), cxt->parent->dev_path);
22 rc = fdisk_ask_yesno(cxt,
23 _("Do you want to create a BSD disklabel?"),
24 &yes);