summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/oldsemaphore.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-12-16 04:54:52 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-12-16 04:54:52 +0000
commit7dfaf230d2191da71f3078943ea09d014298e7b0 (patch)
tree11b16e846adf904f804b8ce15937db12d08259d8 /libpthread/linuxthreads.old/oldsemaphore.c
parent1bcf527f5f8c94aac1b2e80b585898a7266293af (diff)
downloaduClibc-alpine-7dfaf230d2191da71f3078943ea09d014298e7b0.tar.bz2
uClibc-alpine-7dfaf230d2191da71f3078943ea09d014298e7b0.tar.xz
Merge from trunk.
Diffstat (limited to 'libpthread/linuxthreads.old/oldsemaphore.c')
-rw-r--r--libpthread/linuxthreads.old/oldsemaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/oldsemaphore.c b/libpthread/linuxthreads.old/oldsemaphore.c
index 6e91dc3c7..178affa1b 100644
--- a/libpthread/linuxthreads.old/oldsemaphore.c
+++ b/libpthread/linuxthreads.old/oldsemaphore.c
@@ -136,7 +136,7 @@ int __old_sem_wait(old_sem_t * sem)
}
}
}
- pthread_exit(PTHREAD_CANCELED);
+ __pthread_do_exit(PTHREAD_CANCELED, CURRENT_STACK_FRAME);
}
}
}