summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-06-08 23:13:20 +0000
committerandrew <andrew@FreeBSD.org>2016-06-08 23:13:20 +0000
commit05e9e0ac08072bb156c684c9cadbd22fc858f7ce (patch)
tree0e82c565c8530b2d5d0cc92b808b770c7f784a13
parent9b6b6d0c0266550f42aceed3dd0df2e58d8ba6d9 (diff)
downloadFreeBSD-src-05e9e0ac08072bb156c684c9cadbd22fc858f7ce.zip
FreeBSD-src-05e9e0ac08072bb156c684c9cadbd22fc858f7ce.tar.gz
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
-rw-r--r--sys/boot/efi/libefi/efi_console.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/boot/efi/libefi/efi_console.c b/sys/boot/efi/libefi/efi_console.c
index f740d4b..838becc 100644
--- a/sys/boot/efi/libefi/efi_console.c
+++ b/sys/boot/efi/libefi/efi_console.c
@@ -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':
OpenPOWER on IntegriCloud