diff options
author | mav <mav@FreeBSD.org> | 2017-08-03 07:17:41 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2017-08-03 07:17:41 +0000 |
commit | 47e8d41c3145e9843037ea9d561720ddd69cb4ed (patch) | |
tree | 1cf25b2411a1ed7538283f3ebe366d6fb1067acc /usr.bin | |
parent | f578767e954bb6ef856868c1ec5e70961aebde13 (diff) | |
download | FreeBSD-src-47e8d41c3145e9843037ea9d561720ddd69cb4ed.zip FreeBSD-src-47e8d41c3145e9843037ea9d561720ddd69cb4ed.tar.gz |
MFC r321620: Fix singular/plural "users" output.
It was broken during libxo'fication.
PR: 221039
Submitted by: timur@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/w/w.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index 91e7674..20aca78 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -511,7 +511,7 @@ pr_header(time_t *nowp, int nusers) } /* Print number of users logged in to system */ - xo_emit(" {:users/%d} {N:user%s}", nusers, nusers == 1 ? "" : "s"); + xo_emit(" {:users/%d} {Np:user,users}", nusers); /* * Print 1, 5, and 15 minute load averages. |