[PATCH] Convert warning message into error

0 views
Skip to first unread message

Jan Kiszka

unread,
Mar 21, 2022, 7:00:25 AM3/21/22
to efibootguard-dev
From: Jan Kiszka <jan.k...@siemens.com>

We will fail in this case, so the message must be in the error class.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 4787c86..826a16b 100644
--- a/main.c
+++ b/main.c
@@ -50,7 +50,7 @@ static EFI_STATUS probe_watchdogs(EFI_LOADED_IMAGE *loaded_image, UINTN timeout)
NULL, &handle_count,
&handle_buffer);
if (EFI_ERROR(status) || (handle_count == 0)) {
- WARNING(L"No PCI I/O Protocol handles found.\n");
+ ERROR(L"No PCI I/O Protocol handles found.\n");
if (handle_buffer) {
FreePool(handle_buffer);
}
--
2.34.1
Reply all
Reply to author
Forward
0 new messages