mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-07-29 20:24:26 +00:00
Fix our "in_protocol" printing.
When I merged 4bfb13d
and fixed the conflicts, I managed to make the
in_protocol test exactly backwards, so that's why we don't currently see
error messages.
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
213e29e25b
commit
631225fb33
2
shim.c
2
shim.c
@ -63,7 +63,7 @@ static UINT8 in_protocol;
|
|||||||
|
|
||||||
#define perror(fmt, ...) ({ \
|
#define perror(fmt, ...) ({ \
|
||||||
UINTN __perror_ret = 0; \
|
UINTN __perror_ret = 0; \
|
||||||
if (in_protocol) \
|
if (!in_protocol) \
|
||||||
__perror_ret = Print((fmt), ##__VA_ARGS__); \
|
__perror_ret = Print((fmt), ##__VA_ARGS__); \
|
||||||
__perror_ret; \
|
__perror_ret; \
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user