summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_memory.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-10-17 20:05:07 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-10-18 17:05:12 +0200
commit640427c6ae68ac3e85e06ea057b752398d4e060d (patch)
treeb7e669baa59207b0d0bd87e7c066d41e765d4189 /lib/efi_loader/efi_memory.c
parentbc4fe5666dae6ab01a433970c3f5e6eb4833ebe7 (diff)
efi_loader: add missing lf in error message
Messages written with log_err() should terminate with a linefeed. Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_memory.c')
-rw-r--r--lib/efi_loader/efi_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
index b63b5cca71e..3d742fa1915 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);