Skip to content

Commit

Permalink
Fix a const warning in ldconfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland McGrath committed May 7, 2010
1 parent 265bb1c commit 3f7dcb2
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-06 Ulrich Drepper <drepper@redhat.com>

* nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
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 3f7dcb2

Please sign in to comment.