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