summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_setschedparam.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2003-04-21 04:02:56 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2003-04-21 04:02:56 +0000
commit02245e612089c10a31b75ebd58bbef4765fcc054 (patch)
treeb1e30482cc9dacf340a49bac7c46ffce02f42daa /lib/libpthread/thread/thr_setschedparam.c
parentb1ee04b18e90fec17c9c072a8d779b10e8bedcf1 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_setschedparam.c')
-rw-r--r--lib/libpthread/thread/thr_setschedparam.c2
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;