Author: akhaldi
Date: Fri Mar 8 20:49:03 2013
New Revision: 58442
URL:
http://svn.reactos.org/svn/reactos?rev=58442&view=rev
Log:
[SERVICES]
* Fix some format specifiers.
Modified:
trunk/reactos/base/system/services/groupdb.c
trunk/reactos/base/system/services/rpcserver.c
trunk/reactos/base/system/services/services.c
Modified: trunk/reactos/base/system/services/groupdb.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/group…
==============================================================================
--- trunk/reactos/base/system/services/groupdb.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/groupdb.c [iso-8859-1] Fri Mar 8 20:49:03 2013
@@ -96,7 +96,7 @@
{
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 @@
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);
Modified: trunk/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcse…
==============================================================================
--- trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] Fri Mar 8 20:49:03 2013
@@ -1619,7 +1619,7 @@
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);
Modified: trunk/reactos/base/system/services/services.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/servi…
==============================================================================
--- trunk/reactos/base/system/services/services.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/services.c [iso-8859-1] Fri Mar 8 20:49:03 2013
@@ -55,7 +55,7 @@
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 @@
lpStrings,
NULL))
{
- DPRINT1("ScmLogEvent: ReportEventW failed %d\n", GetLastError());
+ DPRINT1("ScmLogEvent: ReportEventW failed %lu\n", GetLastError());
}
DeregisterEventSource(hLog);
@@ -233,7 +233,7 @@
NULL);
if (hPipe == INVALID_HANDLE_VALUE)
{
- DPRINT("CreateNamedPipe() failed (%d)\n", GetLastError());
+ DPRINT("CreateNamedPipe() failed (%lu)\n", GetLastError());
return FALSE;
}
@@ -253,7 +253,7 @@
&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");