summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pt-mutexattr-gettype.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/pt-mutexattr-gettype.c')
-rw-r--r--sysdeps/generic/pt-mutexattr-gettype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/pt-mutexattr-gettype.c b/sysdeps/generic/pt-mutexattr-gettype.c
index ff2caea..28fee9a 100644
--- a/sysdeps/generic/pt-mutexattr-gettype.c
+++ b/sysdeps/generic/pt-mutexattr-gettype.c
@@ -23,6 +23,6 @@
int
pthread_mutexattr_gettype (const pthread_mutexattr_t *attr, int *type)
{
- *type = attr->mutex_type;
+ *type = attr->__mutex_type;
return 0;
}