From 43c9be3d24fbd328b5827e3b815cd27a3ea74c28 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Mon, 27 Dec 2010 00:30:29 +0000 Subject: [PATCH] Fix an apparent cop-and-paste mistake in previous commit. This makes dlsym(RTLD_DEFAULT) work properly again. --- libexec/rtld-elf/rtld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 802773b7e79..ee3985b159f 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;