summaryrefslogtreecommitdiffstats
path: root/fdisk/sfdisk.c
diff options
context:
space:
mode:
authorKarel Zak2009-09-11 14:00:50 +0200
committerKarel Zak2009-09-11 14:00:50 +0200
commit1f1614f6a89de4b06e1843d0fadbca3f8a5521fe (patch)
tree6da945156594ca5f8c2e83c74d61c6a79ac357ad /fdisk/sfdisk.c
parentlibuuid: remove .UE macro from libuuid man pages. (diff)
downloadkernel-qcow2-util-linux-1f1614f6a89de4b06e1843d0fadbca3f8a5521fe.tar.gz
kernel-qcow2-util-linux-1f1614f6a89de4b06e1843d0fadbca3f8a5521fe.tar.xz
kernel-qcow2-util-linux-1f1614f6a89de4b06e1843d0fadbca3f8a5521fe.zip
sfdisk: dump has to be $LANG insensitive
This stupid bug has been introduced by: commit add5133f4ad5136aac3ce7627e615d14893d0aeb Author: Pedro Ribeiro <p.m42.ribeiro@gmail.com> Date: Fri Oct 3 08:52:35 2008 +0200 fdisk: several strings without gettext calls ... so it shows that we need to improve our review process... :-( Address-Red-Hat-Bug: #522718 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk/sfdisk.c')
-rw-r--r--fdisk/sfdisk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fdisk/sfdisk.c b/fdisk/sfdisk.c
index 8fae5bb54..427cb408e 100644
--- a/fdisk/sfdisk.c
+++ b/fdisk/sfdisk.c
@@ -930,8 +930,8 @@ get_disksize(int format) {
static void
out_partition_header(char *dev, int format, struct geometry G) {
if (dump) {
- printf(_("# partition table of %s\n"), dev);
- printf(_("unit: sectors\n\n"));
+ printf("# partition table of %s\n", dev);
+ printf("unit: sectors\n\n");
return;
}
@@ -1059,12 +1059,12 @@ out_partition(char *dev, int format, struct part_desc *p,
size = p->size;
if (dump) {
- printf(_(" start=%9lu"), start);
- printf(_(", size=%9lu"), size);
+ printf(" start=%9lu", start);
+ printf(", size=%9lu", size);
if (p->ptype == DOS_TYPE) {
printf(", Id=%2x", p->p.sys_type);
if (p->p.bootable == 0x80)
- printf(_(", bootable"));
+ printf(", bootable");
}
printf("\n");
return;