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':
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to