summaryrefslogtreecommitdiff
path: root/libexec/ld.so/dlfcn.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-05-25 18:07:22 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-05-25 18:07:22 +0000
commit09c2c1a651b8caebf963956ee871e5ea48bcb12b (patch)
tree625eee2ffbfe0ed2b4c096d9ac2544a5f2ab1dcb /libexec/ld.so/dlfcn.c
parent4f40e8347f536a8fa0e2caf3e7014349d1d34217 (diff)
return object* the symbol is in for _dl_find_symbol*; drahn@ ok
Diffstat (limited to 'libexec/ld.so/dlfcn.c')
-rw-r--r--libexec/ld.so/dlfcn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/dlfcn.c b/libexec/ld.so/dlfcn.c
index fd1a9e3a671..c1bff3e21ab 100644
--- a/libexec/ld.so/dlfcn.c
+++ b/libexec/ld.so/dlfcn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dlfcn.c,v 1.35 2004/05/25 15:56:18 deraadt Exp $ */
+/* $OpenBSD: dlfcn.c,v 1.36 2004/05/25 18:07:20 mickey Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -137,7 +137,7 @@ dlsym(void *handle, const char *name)
return(0);
}
- retval = (void *)_dl_find_symbol(name, object, &sym,
+ retval = (void *)_dl_find_symbol(name, object, &sym, NULL,
SYM_SEARCH_SELF|SYM_NOWARNNOTFOUND|SYM_NOTPLT, 0, object);
if (sym != NULL)
retval += sym->st_value;