Moved setting the debug syslog default to main(). Previously that was done

only when the boot loader menu was entered.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35977 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-03-27 18:15:17 +00:00
parent c81e68b2b2
commit 25bca18888
2 changed files with 5 additions and 6 deletions
+5
View File
@@ -35,6 +35,11 @@ main(stage2_args *args)
TRACE(("boot(): heap initialized...\n"));
// set debug syslog default
#if KDEBUG_ENABLE_DEBUG_SYSLOG
gKernelArgs.keep_debug_output_buffer = true;
#endif
// construct boot_volume KMessage explicitely
new(&gKernelArgs.boot_volume) KMessage;
-6
View File
@@ -734,12 +734,6 @@ add_debug_menu()
item->SetHelpText("Displays debug output on screen while the system "
"is booting, instead of the normal boot logo.");
// set debug syslog default; doesn't really belong here, but there's no
// better place ATM
#if KDEBUG_ENABLE_DEBUG_SYSLOG
gKernelArgs.keep_debug_output_buffer = true;
#endif
menu->AddItem(item = new(nothrow) MenuItem("Enable debug syslog"));
item->SetType(MENU_ITEM_MARKABLE);
item->SetMarked(gKernelArgs.keep_debug_output_buffer);