Skip to content

Commit

Permalink
ls: heed compiler warning
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Vlasenko <[email protected]>
  • Loading branch information
Denys Vlasenko committed Feb 23, 2015
1 parent a88db5c commit c5beaa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coreutils/ls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c5beaa0

Please sign in to comment.