aboutsummaryrefslogtreecommitdiff
path: root/htl/pt-getattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'htl/pt-getattr.c')
-rw-r--r--htl/pt-getattr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/htl/pt-getattr.c b/htl/pt-getattr.c
index 7fb4a9f..33fd87a 100644
--- a/htl/pt-getattr.c
+++ b/htl/pt-getattr.c
@@ -38,9 +38,9 @@ __pthread_getattr_np (pthread_t thread, pthread_attr_t *attr)
are not supported yet, so fill them with our default values. */
*attr = __pthread_default_attr;
- attr->__stackaddr = pthread->stackaddr +
- ((pthread->guardsize + __vm_page_size - 1)
- / __vm_page_size * __vm_page_size);
+ attr->__stackaddr = (pthread->stackaddr
+ + ((pthread->guardsize + __vm_page_size - 1)
+ / __vm_page_size * __vm_page_size));
attr->__stacksize = pthread->stacksize;
attr->__guardsize = pthread->guardsize;
attr->__detachstate = (pthread->state == PTHREAD_DETACHED