summaryrefslogtreecommitdiff
path: root/elf/dl-open.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r--elf/dl-open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index c02ecab26d..76276df080 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -242,7 +242,7 @@ dl_open_worker (void *a)
if (new->l_searchlist.r_list != NULL)
{
/* Let the user know about the opencount. */
- if (__builtin_expect (_dl_debug_files, 0))
+ if (__builtin_expect (_dl_debug_mask & DL_DEBUG_FILES, 0))
{
char buf[20];
@@ -342,7 +342,7 @@ dl_open_worker (void *a)
__libc_multiple_libcs = 1;
/* Let the user know about the opencount. */
- if (__builtin_expect (_dl_debug_files, 0))
+ if (__builtin_expect (_dl_debug_mask & DL_DEBUG_FILES, 0))
{
char buf[20];