svn commit: r301703 - head/sys/boot/efi/libefi

Andrew Turner andrew at FreeBSD.org
Wed Jun 8 23:13:22 UTC 2016


Author: andrew
Date: Wed Jun  8 23:13:20 2016
New Revision: 301703
URL: https://svnweb.freebsd.org/changeset/base/301703

Log:
  Print the newline character along with the carriage return when TERM_EMU is
  disabled. Without this we print all lines over top of each other.
  
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/boot/efi/libefi/efi_console.c

Modified: head/sys/boot/efi/libefi/efi_console.c
==============================================================================
--- head/sys/boot/efi/libefi/efi_console.c	Wed Jun  8 22:36:55 2016	(r301702)
+++ head/sys/boot/efi/libefi/efi_console.c	Wed Jun  8 23:13:20 2016	(r301703)
@@ -139,8 +139,7 @@ efi_cons_rawputchar(int c)
 #ifndef	TERM_EMU
 		if (c == '\n')
 			efi_cons_efiputchar('\r');
-		else
-			efi_cons_efiputchar(c);
+		efi_cons_efiputchar(c);
 #else
 		switch (c) {
 		case '\r':


More information about the svn-src-head mailing list