src: dll: Service: minor fix

This commit is contained in:
Bill Zissimopoulos 2017-03-28 16:06:52 -07:00
parent af772d7a86
commit 0189adac8f

View File

@ -79,7 +79,7 @@ FSP_API ULONG FspServiceRunEx(PWSTR ServiceName,
if (!NT_SUCCESS(Result))
{
FspServiceLog(EVENTLOG_ERROR_TYPE,
L"The service %s cannot be created (Status=%lx).", Service->ServiceName, Result);
L"The service %s cannot be created (Status=%lx).", ServiceName, Result);
return FspWin32FromNtStatus(Result);
}
Service->UserContext = UserContext;
@ -92,7 +92,7 @@ FSP_API ULONG FspServiceRunEx(PWSTR ServiceName,
if (!NT_SUCCESS(Result))
{
FspServiceLog(EVENTLOG_ERROR_TYPE,
L"The service %s has failed to run (Status=%lx).", Service->ServiceName, Result);
L"The service %s has failed to run (Status=%lx).", ServiceName, Result);
return FspWin32FromNtStatus(Result);
}