X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fcancel_impl.c;h=cf5082d386d1d7e956ba5f4a64acd395161c4715;hb=5a2e18093725c3965486641f0ad0b61a44f7ed68;hp=01f52b82c7a20575e6162cedd958e071059f4b51;hpb=188ebf51b4ef58aa0ce0a3a09ed1756d6db2e2dd;p=musl diff --git a/src/thread/cancel_impl.c b/src/thread/cancel_impl.c index 01f52b82..cf5082d3 100644 --- a/src/thread/cancel_impl.c +++ b/src/thread/cancel_impl.c @@ -61,7 +61,7 @@ static void cancel_handler(int sig, siginfo_t *si, void *ctx) void __testcancel() { - pthread_t self = __pthread_self(); + pthread_t self = pthread_self(); if (self->cancel && !self->canceldisable) __cancel(); }