diff options
author | kan <kan@FreeBSD.org> | 2010-12-27 00:30:29 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2010-12-27 00:30:29 +0000 |
commit | 87f341c8acaeffdc23cd31d12090ad6b2323b72b (patch) | |
tree | 73c7fb9d853563d655d8fe69e017f9d640e47260 /libexec | |
parent | bc01bda63eb57455076529ff895705f8f2eba5b7 (diff) | |
download | FreeBSD-src-87f341c8acaeffdc23cd31d12090ad6b2323b72b.zip FreeBSD-src-87f341c8acaeffdc23cd31d12090ad6b2323b72b.tar.gz |
Fix an apparent cop-and-paste mistake in previous commit.
This makes dlsym(RTLD_DEFAULT) work properly again.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/rtld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 802773b..ee3985b 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -2278,7 +2278,7 @@ do_dlsym(void *handle, const char *name, void *retaddr, const Ver_Entry *ve, } } else { assert(handle == RTLD_DEFAULT); - res = symlook_obj(&req, obj); + res = symlook_default(&req, obj); if (res == 0) { defobj = req.defobj_out; def = req.sym_out; |