projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'ppc-port/ppc-squashed'
[oweals/musl.git]
/
src
/
thread
/
pthread_mutexattr_init.c
diff --git
a/src/thread/pthread_mutexattr_init.c
b/src/thread/pthread_mutexattr_init.c
index ea6310699dabd7968982da62d810a41eccd16ac8..0b72c1ba5fda6d9873feedadfb20b882785fd4c9 100644
(file)
--- a/
src/thread/pthread_mutexattr_init.c
+++ b/
src/thread/pthread_mutexattr_init.c
@@
-2,6
+2,6
@@
int pthread_mutexattr_init(pthread_mutexattr_t *a)
{
-
memset(a, 0, sizeof *a)
;
+
*a = (pthread_mutexattr_t){0}
;
return 0;
}