]> 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)
committerRoland McGrath <roland@redhat.com>
Fri, 7 May 2010 23:23:03 +0000 (16:23 -0700)
ChangeLog
elf/ldconfig.c

index 136c904afbfd4512c1b454ad9408f835c155a5a8..952952ab682fa6217fde8d642336520e63bd15f0 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-06  Ulrich Drepper  <drepper@redhat.com>
 
        * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
index 00664e63c7d774cd8781e0a4319bcc8557f5e185..b4af31e5b52285dd99a8a18c48d879ac21577a22 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);