summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_suspend_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/thread/thr_suspend_np.c')
-rw-r--r--lib/libthr/thread/thr_suspend_np.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_suspend_np.c b/lib/libthr/thread/thr_suspend_np.c
index d5fb3b0..3e48656 100644
--- a/lib/libthr/thread/thr_suspend_np.c
+++ b/lib/libthr/thread/thr_suspend_np.c
@@ -121,7 +121,7 @@ static int
suspend_common(struct pthread *curthread, struct pthread *thread,
int waitok)
{
- umtx_t tmp;
+ long tmp;
while (thread->state != PS_DEAD &&
!(thread->flags & THR_FLAGS_SUSPENDED)) {
OpenPOWER on IntegriCloud