projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix misspelled PTHREAD_CANCELED constant
[musl]
/
src
/
thread
/
pthread_create.c
diff --git
a/src/thread/pthread_create.c
b/src/thread/pthread_create.c
index
18ee64d
..
7cd57d8
100644
(file)
--- a/
src/thread/pthread_create.c
+++ b/
src/thread/pthread_create.c
@@
-13,7
+13,7
@@
void __pthread_unwind_next(struct __ptcb *cb)
if (cb->__next) longjmp((void *)cb->__next->__jb, 1);
self = pthread_self();
- if (self->cancel) self->result = PTHREAD_CANCEL
L
ED;
+ if (self->cancel) self->result = PTHREAD_CANCELED;
LOCK(&self->exitlock);