Less error prone log interface.
This commit is contained in:
parent
3cc8b19ca0
commit
5142a406b0
8 changed files with 27 additions and 19 deletions
|
@ -134,7 +134,7 @@ static HANDLE wrmsr_install_driver()
|
|||
SERVICE_STATUS status;
|
||||
const auto rc = QueryServiceStatus(hService, &status);
|
||||
|
||||
if (rc && Log::verbose) {
|
||||
if (rc && Log::isVerbose()) {
|
||||
DWORD dwBytesNeeded;
|
||||
|
||||
QueryServiceConfigA(hService, nullptr, 0, &dwBytesNeeded);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue