]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix a const warning in ldconfig.
authorRoland McGrath <roland@redhat.com>
Fri, 7 May 2010 23:23:03 +0000 (16:23 -0700)
committerPetr Baudis <pasky@ucw.cz>
Wed, 12 May 2010 01:22:45 +0000 (03:22 +0200)
(cherry picked from commit 3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9)

ChangeLog
elf/ldconfig.c

index 921df9b31a0c889eca373f7484be0d78f3155cc3..5e6a6b20f8912aac2945f1d49201a19f275ccaf6 100644 (file)
--- 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
index da77d80de6c39f87219e1c39536b74ee4d225c28..6e71b098d4394163197a5ef6411747a8fb1ed89c 100644 (file)
@@ -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);