X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthread%2Fpthread_mutex_trylock.c;h=1fb6d0f276a5b0ff3c721f6c478061d50b29d6bc;hb=a6054e3c94aa0491d7366e4b05ae0d73f661bfe2;hp=ea1fa80527698d9a20cad0c616f0971d50bdbb1c;hpb=ec2e50d0d78fb19c4a0b6f3e1d394408860425b4;p=musl diff --git a/src/thread/pthread_mutex_trylock.c b/src/thread/pthread_mutex_trylock.c index ea1fa805..1fb6d0f2 100644 --- a/src/thread/pthread_mutex_trylock.c +++ b/src/thread/pthread_mutex_trylock.c @@ -14,7 +14,7 @@ int pthread_mutex_trylock(pthread_mutex_t *m) if (m->_m_type >= 4) { if (!self->robust_list.off) - syscall(SYS_set_robust_list, + __syscall(SYS_set_robust_list, &self->robust_list, 3*sizeof(long)); self->robust_list.off = (char*)&m->_m_lock-(char *)&m->_m_next; self->robust_list.pending = &m->_m_next;