summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-06 13:08:47 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-06 13:08:47 +0000
commit485632ceac9407b733fadd3280058162f3762453 (patch)
treeb4e92ce6b1d1e0df9a592c3f69b08643692ba3f3
parent09fb630d4c79ffaeae30837b4759d5719b0ce8f7 (diff)
downloaduClibc-alpine-485632ceac9407b733fadd3280058162f3762453.tar.bz2
uClibc-alpine-485632ceac9407b733fadd3280058162f3762453.tar.xz
Don't complain if ld.so.cache is missing.
-rw-r--r--ldso/ldso/dl-elf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index 2dda6e5da..80c8fe438 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -51,8 +51,7 @@ int _dl_map_cache(void)
return 0;
if (_dl_stat(LDSO_CACHE, &st)
- || (fd = _dl_open(LDSO_CACHE, O_RDONLY, 0)) < 0) {
- _dl_dprintf(2, "%s: can't open cache '%s'\n", _dl_progname, LDSO_CACHE);
+ || (fd = _dl_open(LDSO_CACHE, O_RDONLY, 0)) < 0) {
_dl_cache_addr = (caddr_t) - 1; /* so we won't try again */
return -1;
}