summaryrefslogtreecommitdiff
path: root/elf/ldconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/ldconfig.c')
-rw-r--r--elf/ldconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index 64c4f64727..3c348c9e7c 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -793,7 +793,7 @@ search_dir (const struct dir_entry *entry)
{
/* If the path the link points to isn't its soname and it is not
.so symlink for ld(1) only, we treat it as a normal file. */
- char *real_base_name = basename (real_name);
+ const char *real_base_name = basename (real_file_name);
if (strcmp (real_base_name, soname) != 0)
{