summaryrefslogtreecommitdiff
path: root/libexec/ld.so/dlfcn.c
diff options
context:
space:
mode:
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 c307ceab0cc..d8f1972a6ed 100644
--- a/libexec/ld.so/dlfcn.c
+++ b/libexec/ld.so/dlfcn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dlfcn.c,v 1.51 2005/09/17 03:02:37 drahn Exp $ */
+/* $OpenBSD: dlfcn.c,v 1.52 2005/09/19 03:16:47 kurt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -104,7 +104,7 @@ dlopen(const char *libname, int flags)
DL_DEB(("dlopen: loading: %s required by %s\n",
deplibname, libname));
depobj = _dl_load_shlib(deplibname, dynobj, OBJTYPE_LIB,
- flags|RTLD_GLOBAL);
+ flags);
if (!depobj) {
failed = 1;
break;