about summary refs log tree commit diff
path: root/src/thread/pthread_attr_getdetachstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_attr_getdetachstate.c')
-rw-r--r--src/thread/pthread_attr_getdetachstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_attr_getdetachstate.c b/src/thread/pthread_attr_getdetachstate.c
index 9cd49536..de65c25f 100644
--- a/src/thread/pthread_attr_getdetachstate.c
+++ b/src/thread/pthread_attr_getdetachstate.c
@@ -2,6 +2,6 @@
 
 int pthread_attr_getdetachstate(pthread_attr_t *a, int *state)
 {
-	*state = a->__detach;
+	*state = a->_a_detach;
 	return 0;
 }