summaryrefslogtreecommitdiff
path: root/ldso/libdl/dlib.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-03-01 07:47:08 +0000
committerEric Andersen <andersen@codepoet.org>2003-03-01 07:47:08 +0000
commit00f7fc0e43e48e6ce2f02783cf33cc461df1b241 (patch)
tree9fda122d8d85a3d1bc2bd6e8325ae865f7294466 /ldso/libdl/dlib.c
parent371abc9c90a2f271cfa11b22d9586279d0f02c6c (diff)
doh. I forgot mips can't talk to globals that early on in the
process. Fix that up too. -Erik
Diffstat (limited to 'ldso/libdl/dlib.c')
-rw-r--r--ldso/libdl/dlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c
index 579263be7..999139538 100644
--- a/ldso/libdl/dlib.c
+++ b/ldso/libdl/dlib.c
@@ -135,7 +135,7 @@ void *_dlopen(const char *libname, int flag)
#endif
/* A bit of sanity checking... */
- if (!(flag & RTLD_LAZY|RTLD_NOW)) {
+ if (!(flag & (RTLD_LAZY|RTLD_NOW))) {
_dl_error_number = LD_BAD_HANDLE;
return NULL;
}