diff options
author | Matthijs Lavrijsen <mattiwatti@gmail.com> | 2023-02-27 05:25:01 +0100 |
---|---|---|
committer | Matthijs Lavrijsen <mattiwatti@gmail.com> | 2023-02-27 05:25:01 +0100 |
commit | 415d32dc2fbdeff0df79b83937a36e38e72bd6f2 (patch) | |
tree | 2d16ff5b896a7ade5b3ec8d8a323ba1b7bd40e2e /EfiGuardDxe/EfiGuardDxe.h | |
parent | 50f82283e5f7ed3388cdc7de9e4a53bd40f26e2c (diff) |
Macro sanitization
Diffstat (limited to 'EfiGuardDxe/EfiGuardDxe.h')
-rw-r--r-- | EfiGuardDxe/EfiGuardDxe.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/EfiGuardDxe/EfiGuardDxe.h b/EfiGuardDxe/EfiGuardDxe.h index 4859953..0970d3b 100644 --- a/EfiGuardDxe/EfiGuardDxe.h +++ b/EfiGuardDxe/EfiGuardDxe.h @@ -213,10 +213,11 @@ extern KERNEL_PATCH_INFORMATION gKernelPatchInfo; // Appends a kernel patch status info or error message to the buffer for delayed printing, // and prints it to a boot debugger immediately if one is connected. // -#define PRINT_KERNEL_PATCH_MSG(Fmt, ...) { \ - gBlStatusPrint(Fmt, ##__VA_ARGS__); \ - AppendKernelPatchMessage(Fmt, ##__VA_ARGS__); \ - } +#define PRINT_KERNEL_PATCH_MSG(Fmt, ...) \ + do { \ + gBlStatusPrint(Fmt, ##__VA_ARGS__); \ + AppendKernelPatchMessage(Fmt, ##__VA_ARGS__); \ + } while (FALSE) #ifdef __cplusplus } |