Author: spetreolle
Date: Sat Oct 3 22:38:05 2015
New Revision: 69437
URL:
http://svn.reactos.org/svn/reactos?rev=69437&view=rev
Log:
Fix 0x%lu specifier in our skeleton service and its only user tcpsvcs.
Modified:
trunk/reactos/base/services/tcpsvcs/tcpsvcs.c
trunk/rosapps/templates/skel_service/ServiceMain.c
Modified: trunk/reactos/base/services/tcpsvcs/tcpsvcs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/tcpsvcs/tcps…
==============================================================================
--- trunk/reactos/base/services/tcpsvcs/tcpsvcs.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/tcpsvcs/tcpsvcs.c [iso-8859-1] Sat Oct 3 22:38:05 2015
@@ -50,7 +50,7 @@
_snwprintf(szSet,
49,
- L"Service state 0x%lu, CheckPoint %lu",
+ L"Service state 0x%lx, CheckPoint %lu",
pServInfo->servStatus.dwCurrentState,
pServInfo->servStatus.dwCheckPoint);
LogEvent(szSet, 0, 0, LOG_FILE);
Modified: trunk/rosapps/templates/skel_service/ServiceMain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/templates/skel_service/Ser…
==============================================================================
--- trunk/rosapps/templates/skel_service/ServiceMain.c [iso-8859-1] (original)
+++ trunk/rosapps/templates/skel_service/ServiceMain.c [iso-8859-1] Sat Oct 3 22:38:05
2015
@@ -54,7 +54,7 @@
_sntprintf(szSet,
49,
- _T("Service state 0x%lu, CheckPoint %lu"),
+ _T("Service state 0x%lx, CheckPoint %lu"),
pServInfo->servStatus.dwCurrentState,
pServInfo->servStatus.dwCheckPoint);
LogEvent(szSet, 0, 0, LOG_FILE);