diff options
Diffstat (limited to 'linuxthreads/oldsemaphore.c')
-rw-r--r-- | linuxthreads/oldsemaphore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/oldsemaphore.c b/linuxthreads/oldsemaphore.c index da5272cd24..2099b8bbda 100644 --- a/linuxthreads/oldsemaphore.c +++ b/linuxthreads/oldsemaphore.c @@ -144,7 +144,7 @@ int __old_sem_wait(old_sem_t * sem) } } } - pthread_exit(PTHREAD_CANCELED); + __pthread_do_exit(PTHREAD_CANCELED, CURRENT_STACK_FRAME); } } } |