about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-05-07 16:23:03 -0700
committerPetr Baudis <pasky@ucw.cz>2010-05-12 03:22:45 +0200
commit32901cc363778c71ed4ddf896c054e7450f654c1 (patch)
treed8c9ce9650cb4141d3a97b01b9b189f08c6156ea /elf
parentb9b562e8bc985e9dd7f1cc0ef8aeb32e448e9cfa (diff)
downloadglibc-32901cc363778c71ed4ddf896c054e7450f654c1.tar.gz
glibc-32901cc363778c71ed4ddf896c054e7450f654c1.tar.xz
glibc-32901cc363778c71ed4ddf896c054e7450f654c1.zip
Fix a const warning in ldconfig.
(cherry picked from commit 3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9)
Diffstat (limited to 'elf')
-rw-r--r--elf/ldconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index da77d80de6..6e71b098d4 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -1357,7 +1357,7 @@ main (int argc, char **argv)
 	add_system_dir (LIBDIR);
     }
 
-  char *aux_cache_file = _PATH_LDCONFIG_AUX_CACHE;
+  const char *aux_cache_file = _PATH_LDCONFIG_AUX_CACHE;
   if (opt_chroot)
     {
       aux_cache_file = chroot_canon (opt_chroot, aux_cache_file);