From dd712378a7b2d83e0a2beb2e640cdee20eaca044 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 19 Oct 2017 15:57:32 -0400 Subject: shim: make everything use a common perror() call. Signed-off-by: Peter Jones --- errlog.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'errlog.c') diff --git a/errlog.c b/errlog.c index b67c23df..de0e7350 100644 --- a/errlog.c +++ b/errlog.c @@ -7,10 +7,6 @@ #include "shim.h" -#ifdef LogError -#undef LogError -#endif - static CHAR16 **errs = NULL; static UINTN nerrs = 0; @@ -51,7 +47,7 @@ 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 efi_status; -- cgit v1.2.3