summaryrefslogtreecommitdiffstats
path: root/usr.bin/w
diff options
context:
space:
mode:
authorsmace <smace@FreeBSD.org>1995-02-18 08:24:16 +0000
committersmace <smace@FreeBSD.org>1995-02-18 08:24:16 +0000
commit5001befdac93a76f0be8f139bc67cb60388a715a (patch)
tree4aff0a4762e40daf15cd9bc9d935b072a0454637 /usr.bin/w
parente3f3d495a18b021ff48c2bb954e0d02a01e4a386 (diff)
downloadFreeBSD-src-5001befdac93a76f0be8f139bc67cb60388a715a.zip
FreeBSD-src-5001befdac93a76f0be8f139bc67cb60388a715a.tar.gz
Correct the grammar for the label of the number of users.
It is plural when zero and >1 users are logged in.
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 9d1e060..0a31930 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.
OpenPOWER on IntegriCloud