branch update for HEAD-2003091401
[reactos.git] / subsys / smss / smss.c
index 76821d7..42673e7 100644 (file)
@@ -30,6 +30,9 @@
 
 #include "smss.h"
 
+#define NDEBUG
+#include <debug.h>
+
 
 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: