summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/cancel.c')
-rw-r--r--cpukit/posix/src/cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/cancel.c b/cpukit/posix/src/cancel.c
index 9519c45e52..04088ae201 100644
--- a/cpukit/posix/src/cancel.c
+++ b/cpukit/posix/src/cancel.c
@@ -45,7 +45,7 @@ int pthread_cancel( pthread_t thread )
return EPROTO;
}
- the_thread = _Thread_Get_interrupt_disable( thread, &lock_context );
+ the_thread = _Thread_Get( thread, &lock_context );
if ( the_thread == NULL ) {
return ESRCH;