diff options
author | Benno Schulenberg | 2015-02-01 15:00:11 +0100 |
---|---|---|
committer | Karel Zak | 2015-02-02 10:57:07 +0100 |
commit | dc45b86e149372e6a9770a7035eaed93f0021a33 (patch) | |
tree | 2bb8e2b7eb29ef3aae6a3fefde8fe8e6fac990a8 /libfdisk/src/partition.c | |
parent | lib/strutils: accept not just 'B' but also lowercase 'b' in a size suffix (diff) | |
download | kernel-qcow2-util-linux-dc45b86e149372e6a9770a7035eaed93f0021a33.tar.gz kernel-qcow2-util-linux-dc45b86e149372e6a9770a7035eaed93f0021a33.tar.xz kernel-qcow2-util-linux-dc45b86e149372e6a9770a7035eaed93f0021a33.zip |
libfdisk: actually translate the human-readable name of the partition type
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'libfdisk/src/partition.c')
-rw-r--r-- | libfdisk/src/partition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdisk/src/partition.c b/libfdisk/src/partition.c index 9a02993c3..5b27d3a71 100644 --- a/libfdisk/src/partition.c +++ b/libfdisk/src/partition.c @@ -735,7 +735,7 @@ int fdisk_partition_to_string(struct fdisk_partition *pa, rc = asprintf(&p, "%ju", pa->cpg); break; case FDISK_FIELD_TYPE: - p = pa->type && pa->type->name ? strdup(pa->type->name) : NULL; + p = pa->type && pa->type->name ? strdup(_(pa->type->name)) : NULL; break; case FDISK_FIELD_TYPEID: if (pa->type && fdisk_parttype_get_string(pa->type)) |