aboutsummaryrefslogtreecommitdiff
path: root/dlfcn/dladdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn/dladdr.c')
-rw-r--r--dlfcn/dladdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/dladdr.c b/dlfcn/dladdr.c
index 2b93cec..922ca44 100644
--- a/dlfcn/dladdr.c
+++ b/dlfcn/dladdr.c
@@ -32,7 +32,7 @@ int
__dladdr (const void *address, Dl_info *info)
{
# ifdef SHARED
- if (__builtin_expect (_dlfcn_hook != NULL, 0))
+ if (__glibc_unlikely (_dlfcn_hook != NULL))
return _dlfcn_hook->dladdr (address, info);
# endif
return _dl_addr (address, info, NULL, NULL);