diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-23 15:25:58 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-23 15:25:58 +0100 |
commit | c5beaa08eb57c542768eebfdf6532e72c5c0c16b (patch) | |
tree | 50683d9afee1011f2395f00129ba4672c0f1f623 | |
parent | a88db5c1a99ebc0ae23b5d108113d9b8af7afc3c (diff) | |
download | busybox-w32-c5beaa08eb57c542768eebfdf6532e72c5c0c16b.tar.gz busybox-w32-c5beaa08eb57c542768eebfdf6532e72c5c0c16b.tar.bz2 busybox-w32-c5beaa08eb57c542768eebfdf6532e72c5c0c16b.zip |
ls: heed compiler warning
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | coreutils/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 366758351..14c8beaff 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -566,7 +566,7 @@ static NOINLINE unsigned display_single(const struct dnode *dn) | |||
566 | #if ENABLE_FEATURE_LS_TIMESTAMPS | 566 | #if ENABLE_FEATURE_LS_TIMESTAMPS |
567 | if (G.all_fmt & (LIST_FULLTIME|LIST_DATE_TIME)) { | 567 | if (G.all_fmt & (LIST_FULLTIME|LIST_DATE_TIME)) { |
568 | char *filetime; | 568 | char *filetime; |
569 | time_t *ttime = &dn->dn_mtime; | 569 | const time_t *ttime = &dn->dn_mtime; |
570 | if (G.all_fmt & TIME_ACCESS) | 570 | if (G.all_fmt & TIME_ACCESS) |
571 | ttime = &dn->dn_atime; | 571 | ttime = &dn->dn_atime; |
572 | if (G.all_fmt & TIME_CHANGE) | 572 | if (G.all_fmt & TIME_CHANGE) |