summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pt-attr-setscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/pt-attr-setscope.c')
-rw-r--r--sysdeps/generic/pt-attr-setscope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/pt-attr-setscope.c b/sysdeps/generic/pt-attr-setscope.c
index d86d7b5..09c5d84 100644
--- a/sysdeps/generic/pt-attr-setscope.c
+++ b/sysdeps/generic/pt-attr-setscope.c
@@ -24,9 +24,9 @@ int
__pthread_attr_setscope (pthread_attr_t *attr,
int contentionscope)
{
- if (contentionscope == __pthread_default_attr.contentionscope)
+ if (contentionscope == __pthread_default_attr.__contentionscope)
{
- attr->contentionscope = contentionscope;
+ attr->__contentionscope = contentionscope;
return 0;
}