X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=subsys%2Fsmss%2Fsmss.c;fp=subsys%2Fsmss%2Fsmss.c;h=42673e7bc336877c47af9e13aa04c10a9b65fa5e;hp=76821d7d5bc50d2ef4846d50f843f405ac8eb6a4;hb=7c0cf90e3b750f1f0dc83b2eec9e5c68a512c30f;hpb=ee8b63255465d8c28be3e7bd11628015708fc1ab diff --git a/subsys/smss/smss.c b/subsys/smss/smss.c index 76821d7..42673e7 100644 --- a/subsys/smss/smss.c +++ b/subsys/smss/smss.c @@ -30,6 +30,9 @@ #include "smss.h" +#define NDEBUG +#include + void DisplayString(LPCWSTR lpwString) @@ -73,7 +76,7 @@ NtProcessStartup(PPEB Peb) Status = InitSessionManager(Children); if (!NT_SUCCESS(Status)) { - PrintString("SM: Initialization failed!\n"); + DPRINT1("SM: Initialization failed!\n"); goto ByeBye; } @@ -84,11 +87,11 @@ NtProcessStartup(PPEB Peb) NULL); /* NULL for infinite */ if (!NT_SUCCESS(Status)) { - PrintString("SM: NtWaitForMultipleObjects failed!\n"); + DPRINT1("SM: NtWaitForMultipleObjects failed!\n"); } else { - PrintString("SM: Process terminated!\n"); + DPRINT1("SM: Process terminated!\n"); } ByeBye: