summaryrefslogtreecommitdiffstats
path: root/usr.bin/w
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-11-11 21:52:10 +0000
committermarcel <marcel@FreeBSD.org>2014-11-11 21:52:10 +0000
commit18319ad5796a0fd493848a446bfb7fa9602b2da9 (patch)
treea97e5eac2677dcca6c1f2f4b013d217d8394facc /usr.bin/w
parent1b776f91ce91392269428312c0aeb55158e5f8a6 (diff)
downloadFreeBSD-src-18319ad5796a0fd493848a446bfb7fa9602b2da9.zip
FreeBSD-src-18319ad5796a0fd493848a446bfb7fa9602b2da9.tar.gz
Fix text output for the uptime command.
Reported by: "Max N. Boyarov" <zotrix@bsd.by>, ae@
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 059f7ce..effd0e3 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -509,7 +509,7 @@ pr_header(time_t *nowp, int nusers)
}
/* Print number of users logged in to system */
- xo_emit(" {:users/%d} user%s", nusers, nusers == 1 ? "" : "s");
+ xo_emit(" {:users/%d} {N:user%s}", nusers, nusers == 1 ? "" : "s");
/*
* Print 1, 5, and 15 minute load averages.
OpenPOWER on IntegriCloud