summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadself.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadself.c')
-rw-r--r--cpukit/posix/src/pthreadself.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthreadself.c b/cpukit/posix/src/pthreadself.c
index de6a40955b..f1b13d8f91 100644
--- a/cpukit/posix/src/pthreadself.c
+++ b/cpukit/posix/src/pthreadself.c
@@ -28,5 +28,5 @@
pthread_t pthread_self( void )
{
- return _Thread_Executing->Object.id;
+ return _Thread_Get_executing()->Object.id;
}