Skip to content

Commit

Permalink
Fix a const warning in ldconfig.
Browse files Browse the repository at this point in the history
(cherry picked from commit 3f7dcb2)
  • Loading branch information
Roland McGrath authored and Petr Baudis committed May 12, 2010
1 parent b9b562e commit 32901cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2010-05-07 Roland McGrath <roland@redhat.com>

* elf/ldconfig.c (main): Add a const.

2010-05-04 Andreas Schwab <schwab@redhat.com>

* posix/regexec.c (find_collation_sequence_value): Fix skipping
Expand Down
2 changes: 1 addition & 1 deletion elf/ldconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 32901cc

Please sign in to comment.