diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/ldconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c index f0fe60d669..519baaa626 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -720,7 +720,7 @@ search_dir (const struct dir_entry *entry) add_single_dir (new_entry, 0); continue; } - else if (!S_ISREG (stat_buf.st_mode) && !is_link) + else if (!S_ISREG (lstat_buf.st_mode) && !is_link) continue; if (opt_chroot && is_link) |