summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutexsurrender.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-14 20:21:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-14 20:21:31 +0000
commit261074795a65ea339fdcbdfd8499aa449a169ade (patch)
tree4bec1e8768408c3f8b1a4f9cb1d9d6c4e1200695 /cpukit/score/src/coremutexsurrender.c
parent2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-261074795a65ea339fdcbdfd8499aa449a169ade.tar.bz2
2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/src/semtranslatereturncode.c, score/src/coremutexsurrender.c: Now all conditionals have the correct sense and all tests pass.
Diffstat (limited to 'cpukit/score/src/coremutexsurrender.c')
-rw-r--r--cpukit/score/src/coremutexsurrender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c
index 66817dcc4d..7e1a444215 100644
--- a/cpukit/score/src/coremutexsurrender.c
+++ b/cpukit/score/src/coremutexsurrender.c
@@ -137,7 +137,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
switch ( the_mutex->Attributes.lock_nesting_behavior ) {
case CORE_MUTEX_NESTING_ACQUIRES:
return CORE_MUTEX_STATUS_SUCCESSFUL;
- #if !defined(RTEMS_POSIX_API)
+ #if defined(RTEMS_POSIX_API)
case CORE_MUTEX_NESTING_IS_ERROR:
/* should never occur */
return CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;