aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-error.c')
-rw-r--r--elf/dl-error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-error.c b/elf/dl-error.c
index ccb4e4dc49..0af8f2f94b 100644
--- a/elf/dl-error.c
+++ b/elf/dl-error.c
@@ -119,7 +119,8 @@ internal_function
_dl_signal_cerror (int errcode, const char *objname, const char *occation,
const char *errstring)
{
- if (__builtin_expect (GL(dl_debug_mask), 0))
+ if (__builtin_expect (GL(dl_debug_mask)
+ & ~(DL_DEBUG_STATISTICS|DL_DEBUG_PRELINK), 0))
INTUSE(_dl_debug_printf) ("%s: error: %s: %s (%s)\n", objname, occation,
errstring, receiver ? "continued" : "fatal");