SVN revision: 42089
This commit is contained in:
Vincent Torri 2009-08-29 19:29:30 +00:00
parent 9f01ad25cf
commit 841aaa8f52
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ EAPI int eina_cpu_count(void)
int cpus;
mib[0] = CTL_HW;
mib[1] = HM_NCPU;
mib[1] = HW_NCPU;
sysctl(mib, 2, &cpus, &len, NULL, 0);
if (cpus < 1)
{