summaryrefslogtreecommitdiff
path: root/libc/unistd/sysconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/sysconf.c')
-rw-r--r--libc/unistd/sysconf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c
index 96aa30122..c195a2dc3 100644
--- a/libc/unistd/sysconf.c
+++ b/libc/unistd/sysconf.c
@@ -203,10 +203,7 @@ long int sysconf(int name)
return _POSIX_VERSION;
case _SC_PAGESIZE:
-#if 0
- return __getpagesize ();
-#else
- return -1;
+ return getpagesize();
#endif
case _SC_AIO_LISTIO_MAX: