summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/semobtain.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/src/semobtain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/rtems/src/semobtain.c b/cpukit/rtems/src/semobtain.c
index 972b12f0ee..e3f3af1b10 100644
--- a/cpukit/rtems/src/semobtain.c
+++ b/cpukit/rtems/src/semobtain.c
@@ -83,7 +83,7 @@ rtems_status_code rtems_semaphore_obtain(
_CORE_mutex_Seize(
&the_semaphore->Core_control.mutex,
id,
- ((_Options_Is_no_wait( option_set )) ? FALSE : TRUE),
+ ((_Options_Is_no_wait( option_set )) ? false : true),
timeout,
level
);
@@ -95,7 +95,7 @@ rtems_status_code rtems_semaphore_obtain(
_CORE_semaphore_Seize_isr_disable(
&the_semaphore->Core_control.semaphore,
id,
- ((_Options_Is_no_wait( option_set )) ? FALSE : TRUE),
+ ((_Options_Is_no_wait( option_set )) ? false : true),
timeout,
&level
);