summaryrefslogtreecommitdiff
path: root/benchmarks/interbench/files/patch-interbench.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/interbench/files/patch-interbench.c')
-rw-r--r--benchmarks/interbench/files/patch-interbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/interbench/files/patch-interbench.c b/benchmarks/interbench/files/patch-interbench.c
index 000a957af176..ec51146ac221 100644
--- a/benchmarks/interbench/files/patch-interbench.c
+++ b/benchmarks/interbench/files/patch-interbench.c
@@ -50,7 +50,7 @@
+
+ pagesize = sysconf(_SC_PAGESIZE);
+ numpages = sysconf(_SC_PHYS_PAGES);
-+ if (sysctlbyname("vm.swap_total", &swap, &len, 0x0, 0) == -1)
++ if (sysctlbyname("vm.swap_total", &swap, &len, NULL, 0) == -1)
+ swap = 0;
+
+ ud.ram = pagesize / 1024 * numpages;