diff options
| author | Peter Jones <pjones@redhat.com> | 2017-09-28 12:23:17 -0400 |
|---|---|---|
| committer | Peter Jones <pmjones@gmail.com> | 2018-03-12 16:21:43 -0400 |
| commit | 1c2376338d57c900fbc1c2fe6d9c30cfe20e44be (patch) | |
| tree | 293bb98f7e683d2af3b1490bb2b8554c9ac52aa5 /errlog.c | |
| parent | ee07a19d7ef3dc2e3fc0204aba4def95eeeadf95 (diff) | |
| download | efi-boot-shim-1c2376338d57c900fbc1c2fe6d9c30cfe20e44be.tar.gz efi-boot-shim-1c2376338d57c900fbc1c2fe6d9c30cfe20e44be.zip | |
shim: Use EFI_ERROR() instead of comparing to EFI_SUCCESS everywhere.
Also consistently name our status variable "efi_status" unless there's a
good reason not to, such as already having another one of those.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'errlog.c')
| -rw-r--r-- | errlog.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -54,13 +54,13 @@ EFI_STATUS LogError(const char *file, int line, const char *func, CHAR16 *fmt, ...) { va_list args; - EFI_STATUS status; + EFI_STATUS efi_status; va_start(args, fmt); - status = VLogError(file, line, func, fmt, args); + efi_status = VLogError(file, line, func, fmt, args); va_end(args); - return status; + return efi_status; } VOID |
