diff options
Diffstat (limited to 'lib/libkse/thread/thr_setschedparam.c')
-rw-r--r-- | lib/libkse/thread/thr_setschedparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkse/thread/thr_setschedparam.c b/lib/libkse/thread/thr_setschedparam.c index 18cddfc..63cd073 100644 --- a/lib/libkse/thread/thr_setschedparam.c +++ b/lib/libkse/thread/thr_setschedparam.c @@ -71,7 +71,7 @@ _pthread_setschedparam(pthread_t pthread, int policy, _thr_ref_delete(curthread, pthread); return (ESRCH); } - in_syncq = pthread->flags & THR_FLAGS_IN_SYNCQ; + in_syncq = pthread->sflags & THR_FLAGS_IN_SYNCQ; /* Set the scheduling policy: */ pthread->attr.sched_policy = policy; |