FreeBSD compile errors - fix typo #3

This commit is contained in:
Hobby-Student 2014-05-01 19:47:58 +02:00
parent 18d70c6cda
commit 923d9d6365

View File

@ -132,7 +132,7 @@ static DWORD GetNumberOfProcessors()
#if defined(__FreeBSD__)
mib[1] = HW_NCPU;
#else
mid[1] = HW_AVAILCPU;
mib[1] = HW_AVAILCPU;
#endif
sysctl(mib, 2, &numCPUs, &length, NULL, 0);