svn commit: r216728 - head/libexec/rtld-elf
Alexander Kabaev
kan at FreeBSD.org
Mon Dec 27 00:30:29 UTC 2010
Author: kan
Date: Mon Dec 27 00:30:29 2010
New Revision: 216728
URL: http://svn.freebsd.org/changeset/base/216728
Log:
Fix an apparent cop-and-paste mistake in previous commit.
This makes dlsym(RTLD_DEFAULT) work properly again.
Modified:
head/libexec/rtld-elf/rtld.c
Modified: head/libexec/rtld-elf/rtld.c
==============================================================================
--- head/libexec/rtld-elf/rtld.c Mon Dec 27 00:12:57 2010 (r216727)
+++ head/libexec/rtld-elf/rtld.c Mon Dec 27 00:30:29 2010 (r216728)
@@ -2278,7 +2278,7 @@ do_dlsym(void *handle, const char *name,
}
} 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;
More information about the svn-src-head
mailing list