aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/pthread/aio_notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread/aio_notify.c')
-rw-r--r--sysdeps/pthread/aio_notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/aio_notify.c b/sysdeps/pthread/aio_notify.c
index 302f1a785b..2202572973 100644
--- a/sysdeps/pthread/aio_notify.c
+++ b/sysdeps/pthread/aio_notify.c
@@ -57,7 +57,7 @@ __aio_notify_only (struct sigevent *sigev)
int result = 0;
/* Send the signal to notify about finished processing of the request. */
- if (__builtin_expect (sigev->sigev_notify == SIGEV_THREAD, 0))
+ if (__glibc_unlikely (sigev->sigev_notify == SIGEV_THREAD))
{
/* We have to start a thread. */
pthread_t tid;