aboutsummaryrefslogtreecommitdiff
path: root/coreutils/who.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/who.c')
-rw-r--r--coreutils/who.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/who.c b/coreutils/who.c
index 7566bfddc..4cd42652b 100644
--- a/coreutils/who.c
+++ b/coreutils/who.c
@@ -30,7 +30,7 @@ static const char * idle_string (time_t t)
30 if (s < 60) 30 if (s < 60)
31 return "."; 31 return ".";
32 if (s < (24 * 60 * 60)) { 32 if (s < (24 * 60 * 60)) {
33 sprintf (str, "%02d:%02d", 33 sprintf(str, "%02d:%02d",
34 (int) (s / (60 * 60)), 34 (int) (s / (60 * 60)),
35 (int) ((s % (60 * 60)) / 60)); 35 (int) ((s % (60 * 60)) / 60));
36 return str; 36 return str;