]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
partx: pluralize one message
authorBenno Schulenberg <bensberg@justemail.net>
Sat, 5 Oct 2013 09:37:48 +0000 (11:37 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2013 13:27:34 +0000 (15:27 +0200)
Reported-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/partx.c

index c4b1d73ea0dbb64e6b3e6144a2be94e1e1c7db94..b69a32956523755c9d9ac9b9b05e90793f418bb4 100644 (file)
@@ -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);
        }