summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadexit.c')
-rw-r--r--cpukit/posix/src/pthreadexit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthreadexit.c b/cpukit/posix/src/pthreadexit.c
index 01bcf6fbde..3b3f0bd95b 100644
--- a/cpukit/posix/src/pthreadexit.c
+++ b/cpukit/posix/src/pthreadexit.c
@@ -97,5 +97,5 @@ void pthread_exit(
void *value_ptr
)
{
- _POSIX_Thread_Exit( _Thread_Executing, value_ptr );
+ _POSIX_Thread_Exit( _Thread_Get_executing(), value_ptr );
}