about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--elf/ldconfig.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 921df9b31a..5e6a6b20f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-07  Roland McGrath  <roland@redhat.com>
+
+	* elf/ldconfig.c (main): Add a const.
+
 2010-05-04  Andreas Schwab  <schwab@redhat.com>
 
 	* posix/regexec.c (find_collation_sequence_value): Fix skipping
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);