aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-26 19:26:07 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-26 19:26:07 +0000
commitd8317630cd9699e4a335da11d939fcb06e7594e1 (patch)
tree64d719a2accfcfb46de7a4b697981e1f4aaec5d0 /sysdeps
parentf9e7bbcead1459b5f47998b0040ed9d5b6aac029 (diff)
downloadglibc-d8317630cd9699e4a335da11d939fcb06e7594e1.tar
glibc-d8317630cd9699e4a335da11d939fcb06e7594e1.tar.gz
glibc-d8317630cd9699e4a335da11d939fcb06e7594e1.tar.bz2
glibc-d8317630cd9699e4a335da11d939fcb06e7594e1.zip
(clock_nanosleep): Add one more __builtin_expect.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/clock_nanosleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/clock_nanosleep.c b/sysdeps/unix/clock_nanosleep.c
index a4d00d26d0..18d7ac270d 100644
--- a/sysdeps/unix/clock_nanosleep.c
+++ b/sysdeps/unix/clock_nanosleep.c
@@ -49,7 +49,7 @@ clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req,
assert (sizeof (sec) >= sizeof (now.tv_sec));
/* Get the current time for this clock. */
- if (clock_gettime (clock_id, &now) != 0)
+ if (__builtin_expect (clock_gettime (clock_id, &now), 0) != 0)
return errno;
/* Compute the difference. */