summaryrefslogtreecommitdiff
path: root/sysdeps/l4
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/l4')
-rw-r--r--sysdeps/l4/pt-start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/l4/pt-start.c b/sysdeps/l4/pt-start.c
index 5a506998..fb4e27be 100644
--- a/sysdeps/l4/pt-start.c
+++ b/sysdeps/l4/pt-start.c
@@ -69,7 +69,7 @@ __pthread_start (struct __pthread *thread)
/* The main thread is already running: do nothing. */
{
assert (__pthread_total == 1);
- thread->threadid = __mach_thread_self ();
+ thread->threadid = L4_Myself ();
}
else
{