Signed-off-by: Francesco Cosoleto <cosoleto@xxxxxxxxx> --- fdisk/fdisk.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index d517d4b..5b8e24a 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -1542,11 +1542,11 @@ get_nonexisting_partition(int warn, int max) { } const char * -str_units(int n) { /* n==1: use singular */ - if (n == 1) - return display_in_cyl_units ? _("cylinder") : _("sector"); - else - return display_in_cyl_units ? _("cylinders") : _("sectors"); +str_units(int n) +{ + if (display_in_cyl_units) + return P_("cylinder", "cylinders", n); + return P_("sector", "sectors", n); } void change_units(void) -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html