From: Benno Schulenberg Date: Fri, 4 Oct 2013 20:15:15 +0000 (+0200) Subject: mcookie: pluralize two messages X-Git-Tag: v2.24-rc2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ea74a307fe01b08b0d1eb85b8a46c475821f299;p=thirdparty%2Futil-linux.git mcookie: pluralize two messages Reported-by: Petr Písař Signed-off-by: Benno Schulenberg --- diff --git a/misc-utils/mcookie.c b/misc-utils/mcookie.c index da641a176d..3761c4b8ca 100644 --- a/misc-utils/mcookie.c +++ b/misc-utils/mcookie.c @@ -147,8 +147,9 @@ int main(int argc, char **argv) count = hash_file(&ctx, fd); if (verbose) fprintf(stderr, - _("Got %d bytes from %s\n"), count, - file); + P_("Got %d byte from %s\n", + "Got %d bytes from %s\n", count), + count, file); if (fd != STDIN_FILENO) if (close(fd)) @@ -171,8 +172,9 @@ int main(int argc, char **argv) close(fd); if (verbose) fprintf(stderr, - _("Got %d bytes from %s\n"), r, - rngs[i].path); + P_("Got %d byte from %s\n", + "Got %d bytes from %s\n", r), + r, rngs[i].path); if (rngs[i].minlength && r >= rngs[i].minlength) break; } else if (verbose)