1 From 1f1382ab8672b9bb679ecc7e79583fd826908f6f Mon Sep 17 00:00:00 2001
2 From: "Brian C. Lane" <bcl@redhat.com>
3 Date: Mon, 1 May 2017 17:04:11 -0700
4 Subject: [PATCH 69/75] Fix crash when localized
6 The _() macro is only for translating string literals. It was
7 incorrectly applied to a runtime string representing the name
8 of a partition and this sometimes caused a gettext crash.
10 parted/parted.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
13 diff --git a/parted/parted.c b/parted/parted.c
14 index bd848c3..f767bec 100644
17 @@ -1276,7 +1276,7 @@ do_print (PedDevice** dev, PedDisk** diskp)
21 - printf ("%s:", _(ped_partition_get_name (part)));
22 + printf ("%s:", ped_partition_get_name (part));