X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_self.c;h=e8bb9181502afc87388d27b8ddbdc6658bad24d4;hb=f0fc95d439459bac27d0d26ec151700a1579b028;hp=e26476cedffd37ae171e9945f856607a239cda71;hpb=ebf82447be4b30bedc19ad868c3a0662b1ba596d;p=musl diff --git a/src/thread/pthread_self.c b/src/thread/pthread_self.c index e26476ce..e8bb9181 100644 --- a/src/thread/pthread_self.c +++ b/src/thread/pthread_self.c @@ -22,7 +22,7 @@ static int init_main_thread() main_thread.errno_ptr = __errno_location(); libc.errno_location = errno_location; main_thread.tid = main_thread.pid = - syscall(SYS_set_tid_address, &main_thread.tid); + __syscall(SYS_set_tid_address, &main_thread.tid); return 0; }