mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[SERVICES]
* Fix some format specifiers. svn path=/trunk/; revision=58442
This commit is contained in:
parent
53ec8df8cf
commit
94c53e8fbe
3 changed files with 7 additions and 7 deletions
|
@ -96,7 +96,7 @@ CreateGroupOrderListRoutine(PWSTR ValueName,
|
|||
{
|
||||
PSERVICE_GROUP Group;
|
||||
|
||||
DPRINT("CreateGroupOrderListRoutine(%S, %x, %x, %x, %x, %x)\n",
|
||||
DPRINT("CreateGroupOrderListRoutine(%S, %x, %p, %x, %p, %p)\n",
|
||||
ValueName, ValueType, ValueData, ValueLength, Context, EntryContext);
|
||||
|
||||
if (ValueType == REG_BINARY &&
|
||||
|
@ -172,7 +172,7 @@ CreateGroupListRoutine(PWSTR ValueName,
|
|||
QueryTable,
|
||||
(PVOID)Group,
|
||||
NULL);
|
||||
DPRINT("%x %d %S\n", Status, Group->TagCount, (PWSTR)ValueData);
|
||||
DPRINT("%x %lu %S\n", Status, Group->TagCount, (PWSTR)ValueData);
|
||||
|
||||
InsertTailList(&GroupListHead,
|
||||
&Group->GroupListEntry);
|
||||
|
|
|
@ -1619,7 +1619,7 @@ DWORD RSetServiceStatus(
|
|||
WCHAR szErrorBuffer[32];
|
||||
|
||||
DPRINT("RSetServiceStatus() called\n");
|
||||
DPRINT("hServiceStatus = %p\n", hServiceStatus);
|
||||
DPRINT("hServiceStatus = %lu\n", hServiceStatus);
|
||||
DPRINT("dwServiceType = %lu\n", lpServiceStatus->dwServiceType);
|
||||
DPRINT("dwCurrentState = %lu\n", lpServiceStatus->dwCurrentState);
|
||||
DPRINT("dwControlsAccepted = %lu\n", lpServiceStatus->dwControlsAccepted);
|
||||
|
|
|
@ -55,7 +55,7 @@ ScmLogError(DWORD dwEventId,
|
|||
L"Service Control Manager");
|
||||
if (hLog == NULL)
|
||||
{
|
||||
DPRINT1("ScmLogEvent: RegisterEventSourceW failed %d\n", GetLastError());
|
||||
DPRINT1("ScmLogEvent: RegisterEventSourceW failed %lu\n", GetLastError());
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ ScmLogError(DWORD dwEventId,
|
|||
lpStrings,
|
||||
NULL))
|
||||
{
|
||||
DPRINT1("ScmLogEvent: ReportEventW failed %d\n", GetLastError());
|
||||
DPRINT1("ScmLogEvent: ReportEventW failed %lu\n", GetLastError());
|
||||
}
|
||||
|
||||
DeregisterEventSource(hLog);
|
||||
|
@ -233,7 +233,7 @@ ScmCreateNamedPipe(VOID)
|
|||
NULL);
|
||||
if (hPipe == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
DPRINT("CreateNamedPipe() failed (%d)\n", GetLastError());
|
||||
DPRINT("CreateNamedPipe() failed (%lu)\n", GetLastError());
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -253,7 +253,7 @@ ScmCreateNamedPipe(VOID)
|
|||
&dwThreadId);
|
||||
if (!hThread)
|
||||
{
|
||||
DPRINT("Could not create thread (%d)\n", GetLastError());
|
||||
DPRINT("Could not create thread (%lu)\n", GetLastError());
|
||||
DisconnectNamedPipe(hPipe);
|
||||
CloseHandle(hPipe);
|
||||
DPRINT("CreateNamedPipe() - returning FALSE\n");
|
||||
|
|
Loading…
Reference in a new issue