1010/* INCLUDES *******************************************************************/
1111
1212#include <ntoskrnl.h>
13+
1314#define NDEBUG
1415#include <debug.h>
1516
@@ -225,7 +226,7 @@ SeRmInitPhase1(VOID)
225226 2 * PAGE_SIZE );
226227 if (!NT_SUCCESS (Status ))
227228 {
228- DPRINT1 ("Security: Rm Create Command Port failed 0x%lx\n" , Status );
229+ DPRINT1 ("Security: Rm Command Port creation failed: 0x%lx\n" , Status );
229230 return FALSE;
230231 }
231232
@@ -239,7 +240,7 @@ SeRmInitPhase1(VOID)
239240 FALSE);
240241 if (!NT_VERIFY ((NT_SUCCESS (Status ))))
241242 {
242- DPRINT1 ("Security: LSA init event creation failed. 0x%xl \n" , Status );
243+ DPRINT1 ("Security: LSA Init Event creation failed: 0x%lx \n" , Status );
243244 return FALSE;
244245 }
245246
@@ -253,7 +254,7 @@ SeRmInitPhase1(VOID)
253254 NULL );
254255 if (!NT_SUCCESS (Status ))
255256 {
256- DPRINT1 ("Security: Rm Server Thread creation failed 0x%lx\n" , Status );
257+ DPRINT1 ("Security: Rm Command Server Thread creation failed: 0x%lx\n" , Status );
257258 return FALSE;
258259 }
259260
@@ -297,8 +298,7 @@ SepAdtInitializeBounds(VOID)
297298 (ListBounds .MinLength < 16 ) ||
298299 (ListBounds .MaxLength - ListBounds .MinLength < 16 ))
299300 {
300- DPRINT1 ("ListBounds are invalid: %u, %u\n" ,
301- ListBounds .MinLength , ListBounds .MaxLength );
301+ DPRINT1 ("ListBounds invalid: %lu, %lu\n" , ListBounds .MinLength , ListBounds .MaxLength );
302302 return ;
303303 }
304304
@@ -1149,7 +1149,7 @@ SepRmCommandServerThreadInit(VOID)
11491149 NULL );
11501150 if (!NT_SUCCESS (Status ))
11511151 {
1152- DPRINT1 ("Security Rm Init: Create Memory Section for LSA port failed: %X \n" , Status );
1152+ DPRINT1 ("Security Rm Init: Create Memory Section for LSA port failed: 0x%lx \n" , Status );
11531153 goto Cleanup ;
11541154 }
11551155
@@ -1251,7 +1251,7 @@ SepRmCommandServerThread(
12511251 & Message .Header );
12521252 if (!NT_SUCCESS (Status ))
12531253 {
1254- DPRINT1 ("Failed to get message: 0x%lx" , Status );
1254+ DPRINT1 ("Failed to get message: 0x%lx\n " , Status );
12551255 ReplyMessage = NULL ;
12561256 continue ;
12571257 }
@@ -1283,7 +1283,7 @@ SepRmCommandServerThread(
12831283 /* Check if this is an actual request */
12841284 if (Message .Header .u2 .s2 .Type != LPC_REQUEST )
12851285 {
1286- DPRINT1 ("SepRmCommandServerThread: unexpected message type: 0x%lx \n" ,
1286+ DPRINT1 ("SepRmCommandServerThread: unexpected message type: 0x%x \n" ,
12871287 Message .Header .u2 .s2 .Type );
12881288
12891289 /* Restart without replying */
0 commit comments