summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/semobtain.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-01-06 05:05:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-01-06 05:05:03 +0000
commiteaef4657ac140fd13b67a3ab88703f5d3b5cf74e (patch)
treeb2eb2a7d6fa1346bfec8563229824a0c13f5b61f /cpukit/rtems/src/semobtain.c
parent2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-eaef4657ac140fd13b67a3ab88703f5d3b5cf74e.tar.bz2
Eliminate TRUE/FALSE.
Diffstat (limited to 'cpukit/rtems/src/semobtain.c')
-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
);