aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/w
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-07-27 14:34:57 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-07-27 14:34:57 +0000
commitba86ca7c849b129650d5bc77bb7adc21bf4ddeb8 (patch)
treef7af073f8a982f0fb17421ae883b63a3b3276617 /usr.bin/w
parentb16b5f8ddcd1d7615a15295d04fe8200dd1bf260 (diff)
Notes
Diffstat (limited to 'usr.bin/w')
-rw-r--r--usr.bin/w/w.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 72b85826eb60d..1db6e9c921f9c 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.