summaryrefslogtreecommitdiff
path: root/src/pinky.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pinky.c')
-rw-r--r--src/pinky.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pinky.c b/src/pinky.c
index 9c80d94d5..382f30fcd 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -27,7 +27,6 @@
#include "canon-host.h"
#include "error.h"
#include "hard-locale.h"
-#include "inttostr.h"
#include "readutmp.h"
/* The official name of this program (e.g., no `g' prefix). */
@@ -197,7 +196,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);
}
/* Display a line of information about UTMP_ENT. */