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 fe2a590252..ee69a9a718 100644
--- a/cpukit/posix/src/pthreaddetach.c
+++ b/cpukit/posix/src/pthreaddetach.c
@@ -34,7 +34,7 @@ int pthread_detach( pthread_t thread )
ISR_lock_Context lock_context;
Per_CPU_Control *cpu_self;
- the_thread = _Thread_Get_interrupt_disable( thread, &lock_context );
+ the_thread = _Thread_Get( thread, &lock_context );
if ( the_thread == NULL ) {
return ESRCH;