summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/semwait.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/semwait.c')
-rw-r--r--cpukit/posix/src/semwait.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpukit/posix/src/semwait.c b/cpukit/posix/src/semwait.c
index c2f73d1536..d9bb81e5ff 100644
--- a/cpukit/posix/src/semwait.c
+++ b/cpukit/posix/src/semwait.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2007.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -38,9 +38,5 @@ int sem_wait(
sem_t *sem
)
{
- return _POSIX_Semaphore_Wait_support(
- sem,
- CORE_SEMAPHORE_BLOCK_FOREVER,
- THREAD_QUEUE_WAIT_FOREVER
- );
+ return _POSIX_Semaphore_Wait_support( sem, TRUE, THREAD_QUEUE_WAIT_FOREVER );
}