[U-Boot] [PATCH 1/1] efi_selftest: add missing LF in test output

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Jan 21 20:30:57 UTC 2018


The output of the minicapps lacks a line feed.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 lib/efi_selftest/efi_selftest_miniapp_exit.c   | 2 +-
 lib/efi_selftest/efi_selftest_miniapp_return.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/efi_selftest/efi_selftest_miniapp_exit.c b/lib/efi_selftest/efi_selftest_miniapp_exit.c
index 590c948a1c..5ec57aba02 100644
--- a/lib/efi_selftest/efi_selftest_miniapp_exit.c
+++ b/lib/efi_selftest/efi_selftest_miniapp_exit.c
@@ -24,7 +24,7 @@ efi_status_t EFIAPI efi_main(efi_handle_t handle,
 {
 	struct efi_simple_text_output_protocol *con_out = systable->con_out;
 
-	con_out->output_string(con_out, L"EFI application calling Exit");
+	con_out->output_string(con_out, L"EFI application calling Exit\n");
 
 	/* The return value is checked by the calling test */
 	systable->boottime->exit(handle, EFI_UNSUPPORTED, 0, NULL);
diff --git a/lib/efi_selftest/efi_selftest_miniapp_return.c b/lib/efi_selftest/efi_selftest_miniapp_return.c
index e5d3979b03..0a82391df6 100644
--- a/lib/efi_selftest/efi_selftest_miniapp_return.c
+++ b/lib/efi_selftest/efi_selftest_miniapp_return.c
@@ -25,7 +25,7 @@ efi_status_t EFIAPI efi_main(efi_handle_t handle,
 	struct efi_simple_text_output_protocol *con_out = systable->con_out;
 
 	con_out->output_string(con_out,
-			       L"EFI application returning w/o calling Exit");
+			       L"EFI application returning w/o calling Exit\n");
 
 	/* The return value is checked by the calling test */
 	return EFI_INCOMPATIBLE_VERSION;
-- 
2.15.1



More information about the U-Boot mailing list