summaryrefslogtreecommitdiff
path: root/src/who-users.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-07-16 04:50:12 +0000
committerJim Meyering <jim@meyering.net>1996-07-16 04:50:12 +0000
commit9e1098928230074bd63a3fa0e4db3f6bbfb024a7 (patch)
treeb1d6378440cc65fa03803abd374062ba8887676e /src/who-users.c
parent4bca95c431b41a20dc9a6c4949eb16a97e438b77 (diff)
downloadcoreutils-9e1098928230074bd63a3fa0e4db3f6bbfb024a7.tar.xz
(print_uptime): Reverse `days' and `day' in uptime message.
From Kaveh R. Ghazi.
Diffstat (limited to 'src/who-users.c')
-rw-r--r--src/who-users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who-users.c b/src/who-users.c
index 1b78c1b4a..bdcfe9adb 100644
--- a/src/who-users.c
+++ b/src/who-users.c
@@ -187,7 +187,7 @@ print_uptime (int n)
? 12 : tmn->tm_hour % 12),
tmn->tm_min, (tmn->tm_hour < 12 ? _("am") : _("pm")));
if (updays > 0)
- printf ("%d %s,", updays, (updays == 1 ? _("days") : _("day")));
+ printf ("%d %s,", updays, (updays == 1 ? _("day") : _("days")));
printf (" %2d:%02d, %d %s", uphours, upmins, entries,
(entries == 1) ? _("user") : _("users"));