diff options
Diffstat (limited to 'c/src/exec/rtems/src/semflush.c')
-rw-r--r-- | c/src/exec/rtems/src/semflush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/rtems/src/semflush.c b/c/src/exec/rtems/src/semflush.c index 43e690479a..dcdd8b1b34 100644 --- a/c/src/exec/rtems/src/semflush.c +++ b/c/src/exec/rtems/src/semflush.c @@ -77,7 +77,7 @@ rtems_status_code rtems_semaphore_flush( return RTEMS_INVALID_ID; case OBJECTS_LOCAL: - if ( _Attributes_Is_binary_semaphore(the_semaphore->attribute_set) ) { + if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) { _CORE_mutex_Flush( &the_semaphore->Core_control.mutex, SEND_OBJECT_WAS_DELETED, |