about summary refs log tree commit diff
path: root/src/thread/pthread_attr_setguardsize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_attr_setguardsize.c')
-rw-r--r--src/thread/pthread_attr_setguardsize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_attr_setguardsize.c b/src/thread/pthread_attr_setguardsize.c
index e0e8d3fb..9f21d247 100644
--- a/src/thread/pthread_attr_setguardsize.c
+++ b/src/thread/pthread_attr_setguardsize.c
@@ -3,6 +3,6 @@
 int pthread_attr_setguardsize(pthread_attr_t *a, size_t size)
 {
 	if (size > SIZE_MAX/8) return EINVAL;
-	a->__guardsize = size - DEFAULT_GUARD_SIZE;
+	a->_a_guardsize = size - DEFAULT_GUARD_SIZE;
 	return 0;
 }