summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/pthread/setxid.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/pthread/setxid.h')
-rw-r--r--nptl/sysdeps/pthread/setxid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/pthread/setxid.h b/nptl/sysdeps/pthread/setxid.h
index 65a1ce7bf9..76c88e0feb 100644
--- a/nptl/sysdeps/pthread/setxid.h
+++ b/nptl/sysdeps/pthread/setxid.h
@@ -48,7 +48,7 @@
({ \
extern __typeof (__nptl_setxid) __nptl_setxid __attribute__((weak));\
int __result; \
- if (__builtin_expect (__nptl_setxid != NULL, 0)) \
+ if (__glibc_unlikely (__nptl_setxid != NULL)) \
{ \
struct xid_command __cmd; \
__cmd.syscall_no = __NR_##name; \