[PATCH] Drop extra newline in output header

2 views
Skip to first unread message

Jan Kiszka

unread,
Apr 25, 2022, 4:14:04 AM4/25/22
to efibootguard-dev
From: Jan Kiszka <jan.k...@siemens.com>

We already clear the screen, so we need no extra space to a previous
line.

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 ccf77b4..897913b 100644
--- a/main.c
+++ b/main.c
@@ -122,7 +122,7 @@ EFI_STATUS efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table)
InitializeLib(this_image, system_table);

(VOID) ST->ConOut->ClearScreen(ST->ConOut);
- PrintC(EFI_CYAN, L"\nEFI Boot Guard %s\n", L"" EFIBOOTGUARD_VERSION);
+ PrintC(EFI_CYAN, L"EFI Boot Guard %s\n", L"" EFIBOOTGUARD_VERSION);

status = BS->OpenProtocol(this_image, &LoadedImageProtocol,
(VOID **)&loaded_image, this_image, NULL,
--
2.34.1
Reply all
Reply to author
Forward
0 new messages