aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_attr_getstacksize.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_attr_getstacksize.c')
-rw-r--r--nptl/pthread_attr_getstacksize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_attr_getstacksize.c b/nptl/pthread_attr_getstacksize.c
index 6df70623e8..42d3f8f44c 100644
--- a/nptl/pthread_attr_getstacksize.c
+++ b/nptl/pthread_attr_getstacksize.c
@@ -32,7 +32,7 @@ __pthread_attr_getstacksize (attr, stacksize)
/* If the user has not set a stack size we return what the system
will use as the default. */
- *stacksize = iattr->stacksize ?: __default_stacksize;
+ *stacksize = iattr->stacksize ?: __default_pthread_attr.stacksize;
return 0;
}