[0.4.14][WMISVC][WUAUSERV] Fix 2 DPRINTs that lack arguments

Format-strings, but no args.
Those were fixed during 0.4.15-dev'ing on master.
Just touched this branch, because I want to update some
older branches and wanted to take that with me as well.
This commit is contained in:
Joachim Henze 2023-03-06 11:39:48 +01:00
parent 1e953d8f2c
commit 88c79c2b88
2 changed files with 1 additions and 3 deletions

View file

@ -112,7 +112,6 @@ ServiceControlHandler(DWORD dwControl,
return ERROR_SUCCESS;
default :
DPRINT1(" Control %lu received\n");
return ERROR_CALL_NOT_IMPLEMENTED;
}
}

View file

@ -82,7 +82,6 @@ ServiceControlHandler(DWORD dwControl,
return ERROR_SUCCESS;
default :
DPRINT1("WU ServiceControlHandler() Control %lu received\n");
return ERROR_CALL_NOT_IMPLEMENTED;
}
}
@ -94,7 +93,7 @@ ServiceMain(DWORD argc, LPTSTR *argv)
UNREFERENCED_PARAMETER(argv);
DPRINT("WU ServiceMain() called\n");
ServiceStatusHandle = RegisterServiceCtrlHandlerExW(ServiceName,
ServiceControlHandler,
NULL);