aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorScott Mace <smace@FreeBSD.org>1995-02-18 08:24:16 +0000
committerScott Mace <smace@FreeBSD.org>1995-02-18 08:24:16 +0000
commit1b0c06d9389db54b91db79357a155f1f2aba7a48 (patch)
tree4aff0a4762e40daf15cd9bc9d935b072a0454637 /usr.bin
parent9b4814bba21e4f1b9f274b0eeb3376566e39167a (diff)
downloadsrc-1b0c06d9389db54b91db79357a155f1f2aba7a48.tar.gz
src-1b0c06d9389db54b91db79357a155f1f2aba7a48.zip
Correct the grammar for the label of the number of users.
It is plural when zero and >1 users are logged in.
Notes
Notes: svn path=/head/; revision=6542
Diffstat (limited to 'usr.bin')
-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 9d1e06067888..0a31930ca450 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -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.