summaryrefslogtreecommitdiff
path: root/src/who.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/who.c b/src/who.c
index 9bf437c06..5529618d9 100644
--- a/src/who.c
+++ b/src/who.c
@@ -34,7 +34,6 @@
#include "readutmp.h"
#include "error.h"
#include "hard-locale.h"
-#include "inttostr.h"
#include "quote.h"
/* The official name of this program (e.g., no `g' prefix). */
@@ -231,7 +230,7 @@ time_string (const STRUCT_UTMP *utmp_ent)
return buf;
}
else
- return TYPE_SIGNED (time_t) ? imaxtostr (t, buf) : umaxtostr (t, buf);
+ return timetostr (t, buf);
}
/* Print formatted output line. Uses mostly arbitrary field sizes, probably