Correct the grammar for the label of the number of users.

It is plural when zero and >1 users are logged in.
This commit is contained in:
Scott Mace 1995-02-18 08:24:16 +00:00
parent 9b4814bba2
commit 1b0c06d938
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6542

View File

@ -383,7 +383,7 @@ pr_header(nowp, nusers)
}
/* Print number of users logged in to system */
(void)printf(" %d user%s", nusers, nusers > 1 ? "s" : "");
(void)printf(" %d user%s", nusers, nusers == 1 ? "" : "s");
/*
* Print 1, 5, and 15 minute load averages.