aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-05-07 16:23:03 -0700
committerRoland McGrath <roland@redhat.com>2010-05-07 16:23:03 -0700
commit3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9 (patch)
treecdb2b22fe4ee96c465941a1e6b6aa2e68c472b67 /elf
parent265bb1ce9423afb46c9627865fdd7a90ce8e85fc (diff)
downloadglibc-3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9.tar
glibc-3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9.tar.gz
glibc-3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9.tar.bz2
glibc-3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9.zip
Fix a const warning in ldconfig.
Diffstat (limited to 'elf')
-rw-r--r--elf/ldconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index 00664e63c7..b4af31e5b5 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);