diff options
author | Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> | 2018-07-24 16:24:23 -0400 |
---|---|---|
committer | Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> | 2018-07-24 16:24:23 -0400 |
commit | f892ac66084ab0315adb0c52e4a39b518730d023 (patch) | |
tree | 0b41430bab3e1cf51e37476a5e6548f639cb7ec6 /errlog.c | |
parent | 6215e920e71f5c6c43189f27b755e7a3238ad396 (diff) | |
download | efi-boot-shim-upstream/15+1531942534.dd3230d.tar.gz efi-boot-shim-upstream/15+1531942534.dd3230d.zip |
New upstream version 15+1531942534.dd3230dupstream/15+1531942534.dd3230d
Diffstat (limited to 'errlog.c')
-rw-r--r-- | errlog.c | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -7,10 +7,6 @@ #include "shim.h" -#ifdef LogError -#undef LogError -#endif - static CHAR16 **errs = NULL; static UINTN nerrs = 0; @@ -51,16 +47,16 @@ VLogError(const char *file, int line, const char *func, CHAR16 *fmt, va_list arg } EFI_STATUS -LogError(const char *file, int line, const char *func, CHAR16 *fmt, ...) +LogError_(const char *file, int line, const char *func, CHAR16 *fmt, ...) { va_list args; - EFI_STATUS status; + EFI_STATUS efi_status; va_start(args, fmt); - status = VLogError(file, line, func, fmt, args); + efi_status = VLogError(file, line, func, fmt, args); va_end(args); - return status; + return efi_status; } VOID @@ -72,7 +68,7 @@ PrintErrors(VOID) return; for (i = 0; i < nerrs; i++) - Print(L"%s", errs[i]); + console_print(L"%s", errs[i]); } VOID |