summaryrefslogtreecommitdiffstats
path: root/disk-utils/partx.c
diff options
context:
space:
mode:
authorBenno Schulenberg2013-10-05 11:37:48 +0200
committerKarel Zak2013-10-08 15:27:34 +0200
commit0df61beaedaaa4a962fd344cbd5975878e7da918 (patch)
tree45e276270a2e3ed272f42d7d74cbe28d23c38343 /disk-utils/partx.c
parentlibfdisk/sgi: tweak and harmonize some message strings (diff)
downloadkernel-qcow2-util-linux-0df61beaedaaa4a962fd344cbd5975878e7da918.tar.gz
kernel-qcow2-util-linux-0df61beaedaaa4a962fd344cbd5975878e7da918.tar.xz
kernel-qcow2-util-linux-0df61beaedaaa4a962fd344cbd5975878e7da918.zip
partx: pluralize one message
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'disk-utils/partx.c')
-rw-r--r--disk-utils/partx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/disk-utils/partx.c b/disk-utils/partx.c
index c4b1d73ea..b69a32956 100644
--- a/disk-utils/partx.c
+++ b/disk-utils/partx.c
@@ -523,7 +523,9 @@ static int list_parts(blkid_partlist ls, int lower, int upper)
start = blkid_partition_get_start(par);
size = blkid_partition_get_size(par);
- printf(_("#%2d: %9ju-%9ju (%9ju sectors, %6ju MB)\n"),
+ printf(P_("#%2d: %9ju-%9ju (%9ju sector, %6ju MB)\n",
+ "#%2d: %9ju-%9ju (%9ju sectors, %6ju MB)\n",
+ size),
n, start, start + size -1,
size, (size << 9) / 1000000);
}