aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--m4/lc_cpucores.m42
-rw-r--r--m4/lc_physmem.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/m4/lc_cpucores.m4 b/m4/lc_cpucores.m4
index 2fae953a..52f7c985 100644
--- a/m4/lc_cpucores.m4
+++ b/m4/lc_cpucores.m4
@@ -43,7 +43,7 @@ main(void)
int name[2] = { CTL_HW, HW_NCPU };
int cpus;
size_t cpus_size = sizeof(cpus);
- sysctl(name, 2, &cpus, &cpus_size, NULL, NULL);
+ sysctl(name, 2, &cpus, &cpus_size, NULL, 0);
return 0;
}
]])], [
diff --git a/m4/lc_physmem.m4 b/m4/lc_physmem.m4
index 78be1362..5d9581e1 100644
--- a/m4/lc_physmem.m4
+++ b/m4/lc_physmem.m4
@@ -45,7 +45,7 @@ main(void)
int name[2] = { CTL_HW, HW_PHYSMEM };
unsigned long mem;
size_t mem_ptr_size = sizeof(mem);
- sysctl(name, 2, &mem, &mem_ptr_size, NULL, NULL);
+ sysctl(name, 2, &mem, &mem_ptr_size, NULL, 0);
return 0;
}
]])], [