diff options
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r-- | nptl/allocatestack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c index 4ec3f44047..e50d2b290d 100644 --- a/nptl/allocatestack.c +++ b/nptl/allocatestack.c @@ -227,7 +227,7 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp, { struct pthread *pd; size_t size; - size_t pagesize_m1 = __sysconf (_SC_PAGESIZE) - 1; + size_t pagesize_m1 = __getpagesize () - 1; assert (attr != NULL); assert (powerof2 (pagesize_m1 + 1)); |