diff options
Diffstat (limited to 'sysdeps/htl/sem-wait.c')
-rw-r--r-- | sysdeps/htl/sem-wait.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/htl/sem-wait.c b/sysdeps/htl/sem-wait.c index 1db2d9005c..74b39d5b75 100644 --- a/sysdeps/htl/sem-wait.c +++ b/sysdeps/htl/sem-wait.c @@ -20,12 +20,13 @@ #include <pt-internal.h> extern int __sem_timedwait_internal (sem_t *restrict sem, + clockid_t clockid, const struct timespec *restrict timeout); int __sem_wait (sem_t *sem) { - return __sem_timedwait_internal (sem, 0); + return __sem_timedwait_internal (sem, CLOCK_REALTIME, 0); } strong_alias (__sem_wait, sem_wait); |