summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2003-02-06 22:39:44 +0000
committermike <mike@FreeBSD.org>2003-02-06 22:39:44 +0000
commite7fb1825df78e0fd2099bce652aff08399919cd7 (patch)
tree4afabca1b4ed95b9818cf783b5b918b33c9b6d38 /usr.bin
parent63f412ef7481bcc52f77c4d1f98bf8441964b117 (diff)
downloadFreeBSD-src-e7fb1825df78e0fd2099bce652aff08399919cd7.zip
FreeBSD-src-e7fb1825df78e0fd2099bce652aff08399919cd7.tar.gz
Fix singular/plural confusion in a printf.
PR: 47953 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> MFC after: 3 days
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/msgs/msgs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c
index 044fccc..31dd9d6 100644
--- a/usr.bin/msgs/msgs.c
+++ b/usr.bin/msgs/msgs.c
@@ -516,7 +516,8 @@ main(int argc, char *argv[])
lct = linecnt(newmsg);
if (lct)
- printf("(%d%slines) ", lct, seensubj? " " : " more ");
+ printf("(%d%sline%s) ", lct, seensubj? " " : " more ",
+ (lct == 1) ? "" : "s");
if (hdrs) {
printf("\n-----\n");
OpenPOWER on IntegriCloud