Fix an apparent cop-and-paste mistake in previous commit.

This makes dlsym(RTLD_DEFAULT) work properly again.
This commit is contained in:
Alexander Kabaev 2010-12-27 00:30:29 +00:00
parent 65db095da0
commit 43c9be3d24

View File

@ -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;