about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-08 12:16:24 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-08 12:16:24 -0400
commit67e793e5e14fe031569117fd88328268e67ad4ee (patch)
tree0831babe83501cf8ad033eed74eef313c8cea69c
parent5e72cb4a363fbf2e5b4cbeddbfde2d98ec209056 (diff)
downloadmusl-67e793e5e14fe031569117fd88328268e67ad4ee.tar.gz
musl-67e793e5e14fe031569117fd88328268e67ad4ee.tar.xz
musl-67e793e5e14fe031569117fd88328268e67ad4ee.zip
better fix sysconf pthread stack min
-rw-r--r--src/conf/sysconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/sysconf.c b/src/conf/sysconf.c
index 11a62883..1c0ae88d 100644
--- a/src/conf/sysconf.c
+++ b/src/conf/sysconf.c
@@ -83,7 +83,7 @@ long sysconf(int name)
 		[_SC_TTY_NAME_MAX] = TTY_NAME_MAX,
 		[_SC_THREAD_DESTRUCTOR_ITERATIONS] = _POSIX_THREAD_DESTRUCTOR_ITERATIONS,
 		[_SC_THREAD_KEYS_MAX] = -1,
-		[_SC_THREAD_STACK_MIN] = PAGE_SIZE,
+		[_SC_THREAD_STACK_MIN] = PTHREAD_STACK_MIN,
 		[_SC_THREAD_THREADS_MAX] = -1,
 		[_SC_THREAD_ATTR_STACKADDR] = -1,
 		[_SC_THREAD_ATTR_STACKSIZE] = VER,