mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Fix text output for the uptime command.
Reported by: "Max N. Boyarov" <zotrix@bsd.by>, ae@
This commit is contained in:
parent
a0f704ffc1
commit
bab0558297
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274406
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue