projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a88db5c
)
ls: heed compiler warning
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 23 Feb 2015 14:25:58 +0000
(15:25 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 23 Feb 2015 14:25:58 +0000
(15:25 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/ls.c
patch
|
blob
|
history
diff --git
a/coreutils/ls.c
b/coreutils/ls.c
index 366758351511120be04069813aad85c9d817a0e6..14c8beaffa6f043069170006b431e42c7d1c8d27 100644
(file)
--- a/
coreutils/ls.c
+++ b/
coreutils/ls.c
@@
-566,7
+566,7
@@
static NOINLINE unsigned display_single(const struct dnode *dn)
#if ENABLE_FEATURE_LS_TIMESTAMPS
if (G.all_fmt & (LIST_FULLTIME|LIST_DATE_TIME)) {
char *filetime;
- time_t *ttime = &dn->dn_mtime;
+
const
time_t *ttime = &dn->dn_mtime;
if (G.all_fmt & TIME_ACCESS)
ttime = &dn->dn_atime;
if (G.all_fmt & TIME_CHANGE)