projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
floating point environment, untested
[oweals/musl.git]
/
src
/
thread
/
pthread_mutex_init.c
diff --git
a/src/thread/pthread_mutex_init.c
b/src/thread/pthread_mutex_init.c
index d453543d06709856ca4a075103a298bd6f6fb0da..75ddf02bc129e4398d7ccf1b4bbfc0d0234d2437 100644
(file)
--- a/
src/thread/pthread_mutex_init.c
+++ b/
src/thread/pthread_mutex_init.c
@@
-3,7
+3,6
@@
int pthread_mutex_init(pthread_mutex_t *m, const pthread_mutexattr_t *a)
{
memset(m, 0, sizeof *m);
- if (a) {
- }
+ if (a) m->_m_type = *a & 7;
return 0;
}