summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-24 09:15:06 +0000
committerderaadt <deraadt@openbsd.org>1996-05-24 09:15:06 +0000
commita8fc6a0cf764e9806a6c8cba724ac09639152bda (patch)
tree8a61e30ffe57c29880128299fbc63e2d3e1ac1c1
parentparseopts() may be called with CVSROOT still in client form (diff)
downloadwireguard-openbsd-a8fc6a0cf764e9806a6c8cba724ac09639152bda.tar.xz
wireguard-openbsd-a8fc6a0cf764e9806a6c8cba724ac09639152bda.zip
fix a typo
-rw-r--r--usr.bin/w/pr_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/w/pr_time.c b/usr.bin/w/pr_time.c
index 112c3a39366..86b5a40a649 100644
--- a/usr.bin/w/pr_time.c
+++ b/usr.bin/w/pr_time.c
@@ -92,7 +92,7 @@ pr_idle(idle)
/* If idle more than 36 hours, print as a number of days. */
if (idle >= 36 * SECSPERHOUR)
(void)printf(" %dday%c ", idle / SECSPERDAY,
- idle >= 24 * SECPERHOUR ? 's' : ' ');
+ idle >= 24 * SECSPERHOUR ? 's' : ' ');
/* If idle more than an hour, print as HH:MM. */
else if (idle >= SECSPERHOUR)