about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-01 20:48:02 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-01 20:48:02 -0400
commit3df3d4f5127a15c1237006d22f948b430f9dbe7e (patch)
treeedec13c6d7b489db627696ecb43f154198cc1f5c /src
parentc1f15004337f855eb681098a4f3fdc77f105577d (diff)
downloadmusl-3df3d4f5127a15c1237006d22f948b430f9dbe7e.tar.gz
musl-3df3d4f5127a15c1237006d22f948b430f9dbe7e.tar.xz
musl-3df3d4f5127a15c1237006d22f948b430f9dbe7e.zip
fix misspelled PTHREAD_CANCELED constant
Diffstat (limited to 'src')
-rw-r--r--src/thread/pthread_create.c2
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);