about summary refs log tree commit diff
path: root/nptl/pthread_attr_getstacksize.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-19 14:34:13 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-19 14:34:13 +0530
commite903a7138b4a39904b9d17a1d7715ae7c17fd832 (patch)
tree3496f780b2da815263d381f31870564df323ac3e /nptl/pthread_attr_getstacksize.c
parentd3cfc668a3988168ccd9342e46cd884da511367b (diff)
downloadglibc-e903a7138b4a39904b9d17a1d7715ae7c17fd832.tar.gz
glibc-e903a7138b4a39904b9d17a1d7715ae7c17fd832.tar.xz
glibc-e903a7138b4a39904b9d17a1d7715ae7c17fd832.zip
Move __default_stacksize into __default_pthread_attr
Make __default_pthread_attr object to store default attribute values
for threads.
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;
 }