summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_concurrency.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_concurrency.c')
-rw-r--r--lib/libpthread/thread/thr_concurrency.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_concurrency.c b/lib/libpthread/thread/thr_concurrency.c
index 8eaa6c1..694255a 100644
--- a/lib/libpthread/thread/thr_concurrency.c
+++ b/lib/libpthread/thread/thr_concurrency.c
@@ -105,7 +105,7 @@ _thr_setconcurrency(int new_level)
newkse->k_kseg->kg_ksecount++;
newkse->k_flags |= KF_STARTED;
KSE_SCHED_UNLOCK(curthread->kse, newkse->k_kseg);
- if (kse_create(&newkse->k_mbx, 0) != 0) {
+ if (kse_create(&newkse->k_kcb->kcb_kmbx, 0) != 0) {
KSE_SCHED_LOCK(curthread->kse, newkse->k_kseg);
TAILQ_REMOVE(&newkse->k_kseg->kg_kseq,
newkse, k_kgqe);
OpenPOWER on IntegriCloud