Преглед на файлове

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

Loading…
Отказ
Запис