diff options
| author | Peter Jones <pjones@redhat.com> | 2020-07-23 20:29:52 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2020-07-25 22:14:08 -0400 |
| commit | fc4368fed53837e00d303600d8b628cb0392b629 (patch) | |
| tree | 747256d09cbd25088439cc99b1abc3416889df14 /include/console.h | |
| parent | 705d47ac2c90b8de07a4ef3e1930de6c4b8fece0 (diff) | |
| download | efi-boot-shim-fc4368fed53837e00d303600d8b628cb0392b629.tar.gz efi-boot-shim-fc4368fed53837e00d303600d8b628cb0392b629.zip | |
Improve debug output some
Signed-off-by: Peter Jones <pjones@redhat.com>
Upstream: pr#213
Diffstat (limited to 'include/console.h')
| -rw-r--r-- | include/console.h | 3 |
1 files changed, 3 insertions, 0 deletions
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__) |
