Commit 631225fb authored by Peter Jones's avatar Peter Jones

Fix our "in_protocol" printing.

When I merged 4bfb13d8 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: default avatarPeter Jones <pjones@redhat.com>
parent 213e29e2
......@@ -63,7 +63,7 @@ static UINT8 in_protocol;
#define perror(fmt, ...) ({ \
UINTN __perror_ret = 0; \
if (in_protocol) \
if (!in_protocol) \
__perror_ret = Print((fmt), ##__VA_ARGS__); \
__perror_ret; \
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment