Revert accidential changes from r57331.

svn path=/trunk/; revision=57335
This commit is contained in:
Eric Kohl 2012-09-19 12:26:22 +00:00
parent c2ab3689b3
commit fc7da88947

View file

@ -32,7 +32,7 @@ LsapInitLsa(VOID)
/* Start the RPC server */ /* Start the RPC server */
LsarStartRpcServer(); LsarStartRpcServer();
DbgPrint("Creating notification event!\n"); TRACE("Creating notification event!\n");
/* Notify the service manager */ /* Notify the service manager */
hEvent = CreateEventW(NULL, hEvent = CreateEventW(NULL,
TRUE, TRUE,
@ -41,7 +41,7 @@ LsapInitLsa(VOID)
if (hEvent == NULL) if (hEvent == NULL)
{ {
dwError = GetLastError(); dwError = GetLastError();
DbgPrint("Failed to create the notication event (Error %lu)\n", dwError); TRACE("Failed to create the notication event (Error %lu)\n", dwError);
if (dwError == ERROR_ALREADY_EXISTS) if (dwError == ERROR_ALREADY_EXISTS)
{ {
@ -50,13 +50,13 @@ LsapInitLsa(VOID)
L"LSA_RPC_SERVER_ACTIVE"); L"LSA_RPC_SERVER_ACTIVE");
if (hEvent == NULL) if (hEvent == NULL)
{ {
DbgPrint("Could not open the notification event (Error %lu)\n", GetLastError()); ERR("Could not open the notification event (Error %lu)\n", GetLastError());
return STATUS_UNSUCCESSFUL; return STATUS_UNSUCCESSFUL;
} }
} }
} }
DbgPrint("Set notification event!\n"); TRACE("Set notification event!\n");
SetEvent(hEvent); SetEvent(hEvent);
/* NOTE: Do not close the event handle!!!! */ /* NOTE: Do not close the event handle!!!! */