From fc4368fed53837e00d303600d8b628cb0392b629 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 23 Jul 2020 20:29:52 -0400 Subject: Improve debug output some Signed-off-by: Peter Jones Upstream: pr#213 --- include/console.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/console.h') diff --git a/include/console.h b/include/console.h index 810bf13a..ac6fdf61 100644 --- a/include/console.h +++ b/include/console.h @@ -85,6 +85,9 @@ extern UINT32 verbose; __dprint_ret; \ }) #define dprint(fmt, ...) dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__, __func__, ##__VA_ARGS__) +extern EFI_STATUS +vdprint_(const CHAR16 *fmt, const char *file, int line, const char *func, va_list args); +#define vdprint(fmt, ...) vdprint_(fmt, __FILE__, __LINE__, __func__, ##__VA_ARGS__) extern EFI_STATUS print_crypto_errors(EFI_STATUS rc, char *file, const char *func, int line); #define crypterr(rc) print_crypto_errors((rc), __FILE__, __func__, __LINE__) -- cgit v1.2.3