From 401221608bfcb06b42aec56dc51de75b737d80ba Mon Sep 17 00:00:00 2001 From: Mojtaba Tajik Date: Sat, 7 Sep 2024 15:32:16 +0200 Subject: [PATCH] Use GetNativeSystemInfo instead of GetSystemInfo --- ntop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;