X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_mutex_init.c;h=acf45a74687bcf3d8dfb6ac7d4e9107d922b4fe2;hb=2404d9d643763e6eceafa9a1918925d80a84ad44;hp=b83edd0f8dedf7d05ca51b3e3bc58602353a63ee;hpb=bc09d58c0432a4eca5f6a1e536679a527f971116;p=musl diff --git a/src/thread/pthread_mutex_init.c b/src/thread/pthread_mutex_init.c index b83edd0f..acf45a74 100644 --- a/src/thread/pthread_mutex_init.c +++ b/src/thread/pthread_mutex_init.c @@ -4,6 +4,5 @@ int pthread_mutex_init(pthread_mutex_t *restrict m, const pthread_mutexattr_t *r { *m = (pthread_mutex_t){0}; if (a) m->_m_type = a->__attr; - if (m->_m_type & 4) m->_m_type |= 128U; return 0; }