aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index e891a67ce..67f6c8c56 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -495,11 +495,9 @@ static NOINLINE unsigned display_single(const struct dnode *dn)
495 /* Do readlink early, so that if it fails, error message 495 /* Do readlink early, so that if it fails, error message
496 * does not appear *inside* the "ls -l" line */ 496 * does not appear *inside* the "ls -l" line */
497 lpath = NULL; 497 lpath = NULL;
498#if ENABLE_PLATFORM_POSIX || ENABLE_FEATURE_READLINK2
499 if (opt & OPT_l) 498 if (opt & OPT_l)
500 if (S_ISLNK(dn->dn_mode)) 499 if (S_ISLNK(dn->dn_mode))
501 lpath = xmalloc_readlink_or_warn(dn->fullname); 500 lpath = xmalloc_readlink_or_warn(dn->fullname);
502#endif
503 501
504 if (opt & OPT_i) /* show inode# */ 502 if (opt & OPT_i) /* show inode# */
505#if !ENABLE_FEATURE_EXTRA_FILE_DATA 503#if !ENABLE_FEATURE_EXTRA_FILE_DATA