summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'win/inspircd_win32wrapper.cpp')
-rw-r--r--win/inspircd_win32wrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp
index 37da9c0b3..62d9ff329 100644
--- a/win/inspircd_win32wrapper.cpp
+++ b/win/inspircd_win32wrapper.cpp
@@ -753,7 +753,7 @@ int getcpu()
&pEnumerator);
if (FAILED(hres))
- return 0;
+ return -1;
IWbemClassObject *pclsObj = NULL;
ULONG uReturn = 0;
@@ -790,5 +790,5 @@ int getcpu()
}
pEnumerator->Release();
pclsObj->Release();
- return 0;
+ return -1;
}