summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/malloc-standard/malloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc-standard/malloc.h b/libc/stdlib/malloc-standard/malloc.h
index 0b8bbef31..174dc01bd 100644
--- a/libc/stdlib/malloc-standard/malloc.h
+++ b/libc/stdlib/malloc-standard/malloc.h
@@ -136,7 +136,7 @@ extern pthread_mutex_t __malloc_lock;
*/
#ifndef malloc_getpagesize
# include <unistd.h>
-# define malloc_getpagesize sysconf(_SC_PAGE_SIZE)
+# define malloc_getpagesize sysconf(_SC_PAGESIZE)
#else /* just guess */
# define malloc_getpagesize (4096)
#endif