From: Roland McGrath Date: Fri, 7 May 2010 23:23:03 +0000 (-0700) Subject: Fix a const warning in ldconfig. X-Git-Tag: upstream/2.20~5828 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9;p=platform%2Fupstream%2Flinaro-glibc.git Fix a const warning in ldconfig. --- diff --git a/ChangeLog b/ChangeLog index 136c904..952952a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-05-07 Roland McGrath + + * elf/ldconfig.c (main): Add a const. + 2010-05-06 Ulrich Drepper * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN. diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 00664e6..b4af31e 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);