[WINLOGON]
[reactos.git] / reactos / base / system / winlogon / winlogon.c
index 7953566..3329848 100644 (file)
@@ -69,7 +69,7 @@ PlayLogonSoundThread(
                if (!hService)
                {
                        CloseServiceHandle(hSCManager);
-                       TRACE("WL: failed to open sysaudio Status %x", GetLastError());
+                       TRACE("WL: failed to open sysaudio Status %x\n", GetLastError());
                        ExitThread(0);
                }
 
@@ -415,7 +415,7 @@ WinMain(
 
        /* Tell kernel that CurrentControlSet is good (needed
         * to support Last good known configuration boot) */
-       NtInitializeRegistry(CM_BOOT_FLAG_ACCEPTED);
+       NtInitializeRegistry(CM_BOOT_FLAG_ACCEPTED | 1);
 
        /* Message loop for the SAS window */
        while (GetMessageW(&Msg, WLSession->SASWindow, 0, 0))