fix misspelled PTHREAD_CANCELED constant

This commit is contained in:
Rich Felker committed 2011-04-01 20:48:02 -04:00
1 parent c1f1500433
commit 3df3d4f512
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);