diff options
| author | Mike Barcroft <mike@FreeBSD.org> | 2003-02-06 22:39:44 +0000 |
|---|---|---|
| committer | Mike Barcroft <mike@FreeBSD.org> | 2003-02-06 22:39:44 +0000 |
| commit | 2d979824f5b3f13b7a82da5d185c40a92cae2926 (patch) | |
| tree | 4afabca1b4ed95b9818cf783b5b918b33c9b6d38 /usr.bin | |
| parent | a42106534f170586a58c4418fc7c7ea54eb722e8 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/msgs/msgs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c index 044fccc51d88..31dd9d603bb2 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"); |
