- Promote service start failures from TRACE to ERR.

See issue #5924 for more details.

svn path=/trunk/; revision=50925
This commit is contained in:
Aleksey Bragin 2011-02-27 19:09:45 +00:00
parent 69d9838266
commit 061ec721f9
2 changed files with 3 additions and 3 deletions

View file

@ -2372,7 +2372,7 @@ StartServiceA(SC_HANDLE hService,
if (dwError != ERROR_SUCCESS) if (dwError != ERROR_SUCCESS)
{ {
TRACE("RStartServiceA() failed (Error %lu)\n", dwError); ERR("RStartServiceA() failed (Error %lu)\n", dwError);
SetLastError(dwError); SetLastError(dwError);
return FALSE; return FALSE;
} }
@ -2407,7 +2407,7 @@ StartServiceW(SC_HANDLE hService,
if (dwError != ERROR_SUCCESS) if (dwError != ERROR_SUCCESS)
{ {
TRACE("RStartServiceW() failed (Error %lu)\n", dwError); ERR("RStartServiceW() failed (Error %lu)\n", dwError);
SetLastError(dwError); SetLastError(dwError);
return FALSE; return FALSE;
} }

View file

@ -508,7 +508,7 @@ EnableUserModePnpManager(VOID)
ret = StartServiceW(hService, 0, NULL); ret = StartServiceW(hService, 0, NULL);
if (!ret) if (!ret)
{ {
DPRINT("Unable to start service\n"); DPRINT1("Unable to start service\n");
goto cleanup; goto cleanup;
} }