From 1fe31ee1b4ebf2f177d512d0301e11de0689a275 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 12 Mar 2018 16:03:38 +0100 Subject: console: Add console_print and console_print_at helpers This is a preparation commit for removing the setup_console(1) calls from MokManager and shim so that we don't force the EFI console to switch to text-mode. This commit replaces all direct calls to Print / PrintAt with calls to the new helpers (no functional changes) so that we can delay calling setup_console(1) till the first Print call in a follow-up patch. Signed-off-by: Hans de Goede --- errlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'errlog.c') diff --git a/errlog.c b/errlog.c index de0e7350..18be4822 100644 --- a/errlog.c +++ b/errlog.c @@ -68,7 +68,7 @@ PrintErrors(VOID) return; for (i = 0; i < nerrs; i++) - Print(L"%s", errs[i]); + console_print(L"%s", errs[i]); } VOID -- cgit v1.2.3