bionic: Fix typo in the argument passed to getauxval()
AT_PAGESZ is the correct argument for getauxval() to get the page size.
Bug: 277272383
Test: source build/envsetup.sh
lunch aosp_cf_arm64_phone_pgagnostic
Change-Id: Ied2db77e9fda73b58f65b2f489ad7fab743c2fe7
diff --git a/libc/platform/bionic/page.h b/libc/platform/bionic/page.h
index a75b3ac..dcc1ae2 100644
--- a/libc/platform/bionic/page.h
+++ b/libc/platform/bionic/page.h
@@ -27,7 +27,7 @@
#if defined(PAGE_SIZE)
return PAGE_SIZE;
#else
- static const size_t page_size = getauxval(PAGE_SIZE);
+ static const size_t page_size = getauxval(AT_PAGESZ);
return page_size;
#endif
}