From 640427c6ae68ac3e85e06ea057b752398d4e060d Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Thu, 17 Oct 2024 20:05:07 +0200 Subject: [PATCH] efi_loader: add missing lf in error message Messages written with log_err() should terminate with a linefeed. Reviewed-by: Ilias Apalodimas Reviewed-by: Simon Glass Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index b63b5cca71..3d742fa191 100644 --- a/lib/efi_loader/efi_memory.c +++ b/lib/efi_loader/efi_memory.c @@ -652,7 +652,7 @@ void *efi_alloc(size_t size) if (efi_allocate_pool(EFI_BOOT_SERVICES_DATA, size, &buf) != EFI_SUCCESS) { - log_err("out of memory"); + log_err("out of memory\n"); return NULL; } memset(buf, 0, size); -- 2.39.5