diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/thread/pthread_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index 18ee64d6..7cd57d8e 100644 --- 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_CANCELLED; + if (self->cancel) self->result = PTHREAD_CANCELED; LOCK(&self->exitlock); |