summaryrefslogtreecommitdiffstats
path: root/libc/bionic/stubs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/stubs.cpp')
-rw-r--r--libc/bionic/stubs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/bionic/stubs.cpp b/libc/bionic/stubs.cpp
index 707036a..2c2b74b 100644
--- a/libc/bionic/stubs.cpp
+++ b/libc/bionic/stubs.cpp
@@ -480,7 +480,7 @@ void endusershell() {
UNIMPLEMENTED;
}
-// Portable code should use sysconf(_SC_PAGESIZE) directly instead.
+// Portable code should use sysconf(_SC_PAGE_SIZE) directly instead.
int getpagesize() {
- return sysconf(_SC_PAGESIZE);
+ return sysconf(_SC_PAGE_SIZE);
}