summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ls.c b/src/ls.c
index 4e044a93b..4b69f7d22 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -91,7 +91,6 @@
#include "human.h"
#include "filemode.h"
#include "idcache.h"
-#include "inttostr.h"
#include "ls.h"
#include "lstat.h"
#include "mbswidth.h"
@@ -3596,9 +3595,7 @@ print_long_format (const struct fileinfo *f)
sprintf (p, "%*s ", long_time_expected_width (),
(! f->stat_ok
? "?"
- : (TYPE_SIGNED (time_t)
- ? imaxtostr (when_timespec.tv_sec, hbuf)
- : umaxtostr (when_timespec.tv_sec, hbuf))));
+ : timetostr (when_timespec.tv_sec, hbuf)));
/* FIXME: (maybe) We discarded when_timespec.tv_nsec. */
p += strlen (p);
}