This commit is contained in:
Joris Vink 2014-10-26 22:11:13 +01:00
parent 6de0f8568a
commit 9512805c04
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ kore_platform_init(void)
size_t len = sizeof(n);
int mib[] = { CTL_HW, HW_AVAILCPU };
sysctl(mib, 2, &n, &len, NULL, 0);
sysctl(mib, 2, &n, &len, NULL, 0);
if (n < 1) {
mib[1] = HW_NCPU;
sysctl(mib, 2, &n, &len, NULL, 0);