summaryrefslogtreecommitdiffstats
path: root/tests/helpers/test_sysinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/test_sysinfo.c')
-rw-r--r--tests/helpers/test_sysinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/test_sysinfo.c b/tests/helpers/test_sysinfo.c
index 00ee25230..4b71955c7 100644
--- a/tests/helpers/test_sysinfo.c
+++ b/tests/helpers/test_sysinfo.c
@@ -36,7 +36,7 @@ hlp_wordsize(void)
int
hlp_pagesize(void)
{
- printf("%d\n", (int) sysconf(_SC_PAGESIZE));
+ printf("%d\n", getpagesize());
return 0;
}