summaryrefslogtreecommitdiff
path: root/semaphore.c
diff options
context:
space:
mode:
Diffstat (limited to 'semaphore.c')
-rw-r--r--semaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/semaphore.c b/semaphore.c
index 9200cdd..9645379 100644
--- a/semaphore.c
+++ b/semaphore.c
@@ -212,7 +212,7 @@ sem_wait (sem_t * sem)
return ((sem == NULL)
? EINVAL
- : pthreadCancelableWait (*sem, INFINITE)
+ : pthreadCancelableWait (*sem)
);
} /* sem_wait */