summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-03-12 15:32:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-03-12 15:32:09 +0000
commitd4311908c8153d13a066f354d11cab72528aba05 (patch)
tree3c3737dee026a52670db1ad17bf7442f6289a80e /cpukit/posix
parent2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-d4311908c8153d13a066f354d11cab72528aba05.tar.bz2
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1393/cpukit * posix/src/mutextranslatereturncode.c: Add entry to table for CORE_MUTEX_RELEASE_NOT_ORDER.
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/mutextranslatereturncode.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/posix/src/mutextranslatereturncode.c b/cpukit/posix/src/mutextranslatereturncode.c
index d2a684bfe0..0392e29eac 100644
--- a/cpukit/posix/src/mutextranslatereturncode.c
+++ b/cpukit/posix/src/mutextranslatereturncode.c
@@ -1,7 +1,7 @@
/*
* POSIX Mutex Error Translation
*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -39,6 +39,9 @@ static int _POSIX_Mutex_Return_codes[CORE_MUTEX_STATUS_LAST + 1] = {
EPERM, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */
EINVAL, /* CORE_MUTEX_WAS_DELETED */
ETIMEDOUT, /* CORE_MUTEX_TIMEOUT */
+#ifdef __RTEMS_STRICT_ORDER_MUTEX__
+ EDEADLK, /* CORE_MUTEX_RELEASE_NOT_ORDER */
+#endif
EINVAL /* CORE_MUTEX_STATUS_CEILING_VIOLATED */
};