missed detail in cancellation bloat fix
authorRich Felker <dalias@aerifal.cx>
Wed, 3 Aug 2011 23:50:35 +0000 (19:50 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 3 Aug 2011 23:50:35 +0000 (19:50 -0400)
src/thread/pthread_create.c

index a6afd1e..0e95591 100644 (file)
@@ -131,5 +131,5 @@ void pthread_exit(void *result)
        struct pthread *self = pthread_self();
        struct __ptcb cb = { .__next = self->cancelbuf };
        self->result = result;
        struct pthread *self = pthread_self();
        struct __ptcb cb = { .__next = self->cancelbuf };
        self->result = result;
-       __pthread_unwind_next(&cb);
+       __pthread_do_unwind(&cb);
 }
 }