diff options
Diffstat (limited to 'tests/helpers/mnt_test_sysinfo.c')
-rw-r--r-- | tests/helpers/mnt_test_sysinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/mnt_test_sysinfo.c b/tests/helpers/mnt_test_sysinfo.c index 90cf02337..9bbcefa38 100644 --- a/tests/helpers/mnt_test_sysinfo.c +++ b/tests/helpers/mnt_test_sysinfo.c @@ -20,7 +20,7 @@ hlp_wordsize(void) int hlp_pagesize(void) { - printf("%d\n", getpagesize()); + printf("%d\n", (int) sysconf(_SC_PAGESIZE)); return 0; } |