diff options
Diffstat (limited to 'lib/libpthread/thread/thr_setschedparam.c')
| -rw-r--r-- | lib/libpthread/thread/thr_setschedparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_setschedparam.c b/lib/libpthread/thread/thr_setschedparam.c index 18cddfc8032c..63cd0730a955 100644 --- a/lib/libpthread/thread/thr_setschedparam.c +++ b/lib/libpthread/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; |
