diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/rtems/src/semobtain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/rtems/src/semobtain.c b/c/src/exec/rtems/src/semobtain.c index 5c8eb400fb..fef659d3cb 100644 --- a/c/src/exec/rtems/src/semobtain.c +++ b/c/src/exec/rtems/src/semobtain.c @@ -92,7 +92,7 @@ rtems_status_code rtems_semaphore_obtain( else wait = TRUE; - if ( _Attributes_Is_binary_semaphore( the_semaphore->attribute_set ) ) { + if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) { _CORE_mutex_Seize( &the_semaphore->Core_control.mutex, id, |