From 3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 7 May 2010 16:23:03 -0700 Subject: Fix a const warning in ldconfig. --- elf/ldconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf') 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); -- cgit 1.4.1