Fix a const warning in ldconfig.

This commit is contained in:
Roland McGrath 2010-05-07 16:23:03 -07:00
parent 265bb1ce94
commit 3f7dcb2b0f
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View 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);