better fix sysconf pthread stack min
authorRich Felker <dalias@aerifal.cx>
Fri, 8 Apr 2011 16:16:24 +0000 (12:16 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 8 Apr 2011 16:16:24 +0000 (12:16 -0400)
src/conf/sysconf.c

index 11a628836cfb35412c4081ecefcff2cd8c4cb5e8..1c0ae88df21e8431a4b442f604f9e4950b5131de 100644 (file)
@@ -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,