From 6d7ab0a861588287ee248133c236ea31d340e200 Mon Sep 17 00:00:00 2001 From: David Greenman Date: Mon, 9 Oct 1995 08:25:35 +0000 Subject: Sync with main branch: fix output formatting in 'day' non-plural case. --- usr.bin/w/pr_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/w/pr_time.c b/usr.bin/w/pr_time.c index 1a50fdcfebb4d..dfbe154b7c070 100644 --- a/usr.bin/w/pr_time.c +++ b/usr.bin/w/pr_time.c @@ -91,7 +91,7 @@ pr_idle(idle) /* If idle more than 36 hours, print as a number of days. */ if (idle >= 36 * 3600) { int days = idle / 86400; - (void)printf(" %dday%s ", days, days > 1 ? "s" : "" ); + (void)printf(" %dday%s ", days, days > 1 ? "s" : " " ); } /* If idle more than an hour, print as HH:MM. */ -- cgit v1.3