summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/cond.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/cond.c')
-rw-r--r--cpukit/posix/src/cond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/cond.c b/cpukit/posix/src/cond.c
index 878325acc9..e7e03c6e6d 100644
--- a/cpukit/posix/src/cond.c
+++ b/cpukit/posix/src/cond.c
@@ -261,7 +261,7 @@ int pthread_cond_destroy(
&the_cond->Object
);
- if ( _Thread_queue_Get_number_waiting( &the_cond->Wait_queue ) )
+ if ( _Thread_queue_First( &the_cond->Wait_queue ) )
return EBUSY;
_POSIX_Condition_variables_Free( the_cond );