about summary refs log tree commit diff
path: root/nptl/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-22 22:58:17 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-22 22:58:17 -0500
commitee9e064083b7199fd2c680fa1b2dcf49ff52fedd (patch)
tree1fc9728d091a357f22442ec3ba88a005d5a1d431 /nptl/sysdeps/unix
parent2c1094bd700e63a8d7f547b3f5495bedb55c0a08 (diff)
downloadglibc-ee9e064083b7199fd2c680fa1b2dcf49ff52fedd.tar.gz
glibc-ee9e064083b7199fd2c680fa1b2dcf49ff52fedd.tar.xz
glibc-ee9e064083b7199fd2c680fa1b2dcf49ff52fedd.zip
Use __pthread_get_minstack in more places
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/mq_notify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/mq_notify.c b/nptl/sysdeps/unix/sysv/linux/mq_notify.c
index 49ddeae052..11ffc328e7 100644
--- a/nptl/sysdeps/unix/sysv/linux/mq_notify.c
+++ b/nptl/sysdeps/unix/sysv/linux/mq_notify.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004, 2005, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2004, 2005, 2008, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contribute by Ulrich Drepper <drepper@redhat.com>, 2004.
 
@@ -201,7 +201,7 @@ init_mq_netlink (void)
       (void) pthread_attr_init (&attr);
       (void) pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
       /* We do not need much stack space, the bare minimum will be enough.  */
-      (void) pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
+      (void) pthread_attr_setstacksize (&attr, __pthread_get_minstack (&attr));
 
       /* Temporarily block all signals so that the newly created
 	 thread inherits the mask.  */