From 631225fb3319c7011a840986a73bcc2afef5adc0 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Sun, 21 Sep 2014 16:25:27 -0400 Subject: [PATCH] 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 --- shim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shim.c b/shim.c index caa05d8..7cd4182 100644 --- a/shim.c +++ b/shim.c @@ -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; \ })