summaryrefslogtreecommitdiffstats
path: root/disk-utils/fdisk-list.c
diff options
context:
space:
mode:
authorBenno Schulenberg2015-02-01 22:12:14 +0100
committerKarel Zak2015-02-02 10:57:07 +0100
commit9ac1fcf6c519cf2db6d8ee715ccf7227e91468b6 (patch)
treee8532136386a4fb34705ae47c4f3d5e70b0a0229 /disk-utils/fdisk-list.c
parentdocs: add the Sort command to the man page of cfdisk (diff)
downloadkernel-qcow2-util-linux-9ac1fcf6c519cf2db6d8ee715ccf7227e91468b6.tar.gz
kernel-qcow2-util-linux-9ac1fcf6c519cf2db6d8ee715ccf7227e91468b6.tar.xz
kernel-qcow2-util-linux-9ac1fcf6c519cf2db6d8ee715ccf7227e91468b6.zip
sfdisk: actually translate the table headers by calling gettext()
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'disk-utils/fdisk-list.c')
-rw-r--r--disk-utils/fdisk-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/fdisk-list.c b/disk-utils/fdisk-list.c
index c65b8b475..e8a059677 100644
--- a/disk-utils/fdisk-list.c
+++ b/disk-utils/fdisk-list.c
@@ -136,7 +136,7 @@ void list_disklabel(struct fdisk_context *cxt)
fl |= SCOLS_FL_TRUNC;
co = scols_table_new_column(out,
- fdisk_field_get_name(field),
+ _(fdisk_field_get_name(field)),
fdisk_field_get_width(field), fl);
if (!co)
goto done;