diff --git a/ntop.c b/ntop.c index 084b029..14411e5 100644 --- a/ntop.c +++ b/ntop.c @@ -885,7 +885,7 @@ static void PollInitialSystemInfo(void) CPUFrequency = (double)PerformanceFrequency.QuadPart / 1000000.0; SYSTEM_INFO SystemInfo; - GetSystemInfo(&SystemInfo); + GetNativeSystemInfo(&SystemInfo); CPUCoreCount = SystemInfo.dwNumberOfProcessors; HKEY Key;