diff options
| author | Peter Jones <pjones@redhat.com> | 2014-09-21 16:25:27 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2014-09-21 16:25:27 -0400 |
| commit | 631225fb3319c7011a840986a73bcc2afef5adc0 (patch) | |
| tree | b9f57b27175cb7dca74bcbf29cd44ba5a26e71d0 /shim.c | |
| parent | 213e29e25b771fea7146c7db2203759bc8c75e5a (diff) | |
| download | efi-boot-shim-631225fb3319c7011a840986a73bcc2afef5adc0.tar.gz efi-boot-shim-631225fb3319c7011a840986a73bcc2afef5adc0.zip | |
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>
Diffstat (limited to 'shim.c')
| -rw-r--r-- | shim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; \ }) |
