diff options
| author | Peter Jones <pjones@redhat.com> | 2014-09-19 16:46:01 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2014-09-21 16:25:27 -0400 |
| commit | eb72a4c3a1be9a10512886d2c95f9c015b77e15f (patch) | |
| tree | b9f57b27175cb7dca74bcbf29cd44ba5a26e71d0 | |
| parent | 3d1cdbc4e3815dd8e489b8a9c95e945b67d3a045 (diff) | |
| download | efi-boot-shim-eb72a4c3a1be9a10512886d2c95f9c015b77e15f.tar.gz efi-boot-shim-eb72a4c3a1be9a10512886d2c95f9c015b77e15f.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>
| -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; \ }) |
