]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: add missing lf in error message
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 17 Oct 2024 18:05:07 +0000 (20:05 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 18 Oct 2024 15:05:12 +0000 (17:05 +0200)
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>
lib/efi_loader/efi_memory.c

index b63b5cca71ece46728c4de49a654842c3df047a8..3d742fa1915025063cf256bf96fb35e2e73cc081 100644 (file)
@@ -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);