Pārlūkot izejas kodu

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 gadus atpakaļ
vecāks
revīzija
70cc3a164a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/hci/shell_banner.c

+ 1
- 1
src/hci/shell_banner.c Parādīt failu

@@ -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..." );

Notiek ielāde…
Atcelt
Saglabāt