summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mutextranslatereturncode.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/mutextranslatereturncode.c')
-rw-r--r--cpukit/posix/src/mutextranslatereturncode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/mutextranslatereturncode.c b/cpukit/posix/src/mutextranslatereturncode.c
index 7c335e7e4b..d2a684bfe0 100644
--- a/cpukit/posix/src/mutextranslatereturncode.c
+++ b/cpukit/posix/src/mutextranslatereturncode.c
@@ -1,7 +1,7 @@
/*
* POSIX Mutex Error Translation
*
- * COPYRIGHT (c) 1989-2007.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -38,7 +38,7 @@ static int _POSIX_Mutex_Return_codes[CORE_MUTEX_STATUS_LAST + 1] = {
EDEADLK, /* CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED */
EPERM, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */
EINVAL, /* CORE_MUTEX_WAS_DELETED */
- EAGAIN, /* CORE_MUTEX_TIMEOUT */
+ ETIMEDOUT, /* CORE_MUTEX_TIMEOUT */
EINVAL /* CORE_MUTEX_STATUS_CEILING_VIOLATED */
};