projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
greatly improve freopen behavior
[musl]
/
src
/
thread
/
pthread_create.c
diff --git
a/src/thread/pthread_create.c
b/src/thread/pthread_create.c
index
627ff5f
..
e67616e
100644
(file)
--- a/
src/thread/pthread_create.c
+++ b/
src/thread/pthread_create.c
@@
-147,7
+147,7
@@
int pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attr,
new->canary = self->canary;
a_inc(&libc.threads_minus_1);
- ret = __clone(start, stack, flags, new, &new->tid,
new
, &new->tid);
+ ret = __clone(start, stack, flags, new, &new->tid,
TP_ADJ(new)
, &new->tid);
__release_ptc();