aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-open.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r--elf/dl-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index b984aa8f89..d095f5e65d 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -110,7 +110,7 @@ _dl_open (const char *file, int mode)
l = l->l_prev;
}
- new->l_global = (mode & RTLD_GLOBAL);
+ new->l_global = (mode & RTLD_GLOBAL) ? 1 : 0;
if (new->l_global)
{
/* The symbols of the new object and its dependencies are to be