commit 9d9e9dcec28b4b8ef86edf7054aa86127411043c
parent 892814e353bbf95c8183da9202f087daa74fbc12
Author: Joris Vink <joris@coders.se>
Date: Thu, 25 Oct 2018 19:30:10 +0200
set cpu_count to 1 for unknown BSDs
Diffstat:
src/bsd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bsd.c b/src/bsd.c
@@ -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 */
}