summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pt-mutexattr-settype.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/pt-mutexattr-settype.c')
-rw-r--r--sysdeps/generic/pt-mutexattr-settype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/pt-mutexattr-settype.c b/sysdeps/generic/pt-mutexattr-settype.c
index e7ae213..5c46010 100644
--- a/sysdeps/generic/pt-mutexattr-settype.c
+++ b/sysdeps/generic/pt-mutexattr-settype.c
@@ -28,7 +28,7 @@ pthread_mutexattr_settype (pthread_mutexattr_t *attr, int type)
case PTHREAD_MUTEX_NORMAL:
case PTHREAD_MUTEX_ERRORCHECK:
case PTHREAD_MUTEX_RECURSIVE:
- attr->mutex_type = type;
+ attr->__mutex_type = type;
return 0;
default: