diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-18 00:27:31 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-18 21:07:44 +0200 |
commit | 783c4820303fb6b031d401564f8089ecaf154b62 (patch) | |
tree | 34cd40325e7f9d97a0fbc49f159f892cb5cb1671 /sysdeps/htl/timer_routines.h | |
parent | d6397de369d006da516cb560adfa2c181b6f4698 (diff) | |
download | glibc-783c4820303fb6b031d401564f8089ecaf154b62.tar.gz glibc-783c4820303fb6b031d401564f8089ecaf154b62.tar.xz glibc-783c4820303fb6b031d401564f8089ecaf154b62.zip |
Fix sched_param
Diffstat (limited to 'sysdeps/htl/timer_routines.h')
-rw-r--r-- | sysdeps/htl/timer_routines.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/htl/timer_routines.h b/sysdeps/htl/timer_routines.h index a8134f510f..062128cf92 100644 --- a/sysdeps/htl/timer_routines.h +++ b/sysdeps/htl/timer_routines.h @@ -32,8 +32,8 @@ thread_attr_compare (const pthread_attr_t * left, const pthread_attr_t * right) struct __pthread_attr *ileft = (struct __pthread_attr *) left; struct __pthread_attr *iright = (struct __pthread_attr *) right; - return ileft->__schedparam.sched_priority - == iright->__schedparam.sched_priority + return ileft->__schedparam.__sched_priority + == iright->__schedparam.__sched_priority && ileft->__stackaddr == iright->__stackaddr && ileft->__stacksize == iright->__stacksize && ileft->__guardsize == iright->__guardsize |