From: Benno Schulenberg Date: Fri, 4 Oct 2013 20:32:56 +0000 (+0200) Subject: wipefs: pluralize one message X-Git-Tag: v2.24-rc2~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1619e3e7411c3efedbd4232b8d2a2bcf547ffa9e;p=thirdparty%2Futil-linux.git wipefs: pluralize one message Reported-by: Petr Písař Signed-off-by: Benno Schulenberg --- diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index ff2f62fbc5..8ac6c33a08 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -308,8 +308,10 @@ static void do_wipe_real(blkid_probe pr, const char *devname, if (flags & WP_FL_QUIET) return; - printf(_("%s: %zd bytes were erased at offset 0x%08jx (%s): "), - devname, w->len, w->offset, w->type); + printf(P_("%s: %zd byte was erased at offset 0x%08jx (%s): ", + "%s: %zd bytes were erased at offset 0x%08jx (%s): ", + w->len), + devname, w->len, w->offset, w->type); for (i = 0; i < w->len; i++) { printf("%02x", w->magic[i]);