summaryrefslogtreecommitdiffstats
path: root/misc-utils/mcookie.c
diff options
context:
space:
mode:
authorBenno Schulenberg2013-10-04 22:15:15 +0200
committerKarel Zak2013-10-08 15:27:29 +0200
commit5ea74a307fe01b08b0d1eb85b8a46c475821f299 (patch)
tree32c38d85365edeb4e9bb334e503df01f179e3106 /misc-utils/mcookie.c
parenttextual: properly use uppercase in certain abbreviations (diff)
downloadkernel-qcow2-util-linux-5ea74a307fe01b08b0d1eb85b8a46c475821f299.tar.gz
kernel-qcow2-util-linux-5ea74a307fe01b08b0d1eb85b8a46c475821f299.tar.xz
kernel-qcow2-util-linux-5ea74a307fe01b08b0d1eb85b8a46c475821f299.zip
mcookie: pluralize two messages
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'misc-utils/mcookie.c')
-rw-r--r--misc-utils/mcookie.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/misc-utils/mcookie.c b/misc-utils/mcookie.c
index da641a176..3761c4b8c 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)