summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/keycreate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/keycreate.c b/cpukit/posix/src/keycreate.c
index 15382bbe4a..1fc87641e5 100644
--- a/cpukit/posix/src/keycreate.c
+++ b/cpukit/posix/src/keycreate.c
@@ -62,7 +62,7 @@ int pthread_key_create(
/*
* Since the removal of ITRON, this cannot occur.
*/
- if ( !_Objects_Information_table[ api_index ] )
+ if ( !_Objects_Information_table[ the_api ] )
continue;
/*