projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ensure pointer decay in inline-asm arg for i386 syscall6
[musl]
/
src
/
thread
/
pthread_create.c
diff --git
a/src/thread/pthread_create.c
b/src/thread/pthread_create.c
index
92ce9ff
..
6327a94
100644
(file)
--- a/
src/thread/pthread_create.c
+++ b/
src/thread/pthread_create.c
@@
-144,7
+144,7
@@
int pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attr,
flags -= 0x200000;
}
new->unblock_cancel = self->cancel;
- new->canary = self->canary
^ (uintptr_t)&new
;
+ new->canary = self->canary;
stack = (void *)new;
a_inc(&libc.threads_minus_1);