summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreaddetach.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreaddetach.c')
-rw-r--r--cpukit/posix/src/pthreaddetach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthreaddetach.c b/cpukit/posix/src/pthreaddetach.c
index 06a95bfd05..6078fcc97e 100644
--- a/cpukit/posix/src/pthreaddetach.c
+++ b/cpukit/posix/src/pthreaddetach.c
@@ -30,7 +30,7 @@ int pthread_detach(
POSIX_API_Control *api;
Objects_Locations location;
- the_thread = _POSIX_Threads_Get( thread, &location );
+ the_thread = _Thread_Get( thread, &location );
switch ( location ) {
case OBJECTS_LOCAL: