set cpu_count to 1 for unknown BSDs

This commit is contained in:
Joris Vink 2018-10-25 19:30:10 +02:00
parent 892814e353
commit 9d9e9dcec2
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ kore_platform_init(void)
cpu_count = (u_int16_t)n;
}
#else
cpu_count = 0;
cpu_count = 1;
#endif /* __MACH__ || __FreeBSD_version */
}