瀏覽代碼

Reset character attributes before start of welcome banner, in case

it's a serial console and remembers state from the previous program
run.
tags/v0.9.3
Michael Brown 18 年之前
父節點
當前提交
70cc3a164a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/hci/shell_banner.c

+ 1
- 1
src/hci/shell_banner.c 查看文件

@@ -43,7 +43,7 @@ int shell_banner ( void ) {
43 43
 	int enter_shell = 0;
44 44
 
45 45
 	/* Print welcome banner */
46
-	printf ( "\n\n\n" BOLD "gPXE " VERSION
46
+	printf ( NORMAL "\n\n\n" BOLD "gPXE " VERSION
47 47
 		 NORMAL " -- Open Source Boot Firmware -- "
48 48
 		 CYAN "http://etherboot.org" NORMAL "\n"
49 49
 		 "Press Ctrl-B for the gPXE command line..." );

Loading…
取消
儲存