From e904d9ad67f504cfc2117d087e8e3507a3ab97eb Mon Sep 17 00:00:00 2001 From: Jakub Czapiga Date: Thu, 17 Feb 2022 15:03:25 +0100 Subject: [PATCH] libpayload/cbfs: Add missing new line at the end of error messages Signed-off-by: Jakub Czapiga Change-Id: Ieec281e4f1c67e40976892b3dd1780d2f3802df4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62125 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- payloads/libpayload/libcbfs/cbfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/payloads/libpayload/libcbfs/cbfs.c b/payloads/libpayload/libcbfs/cbfs.c index 44173c82f6..6a996b7ad2 100644 --- a/payloads/libpayload/libcbfs/cbfs.c +++ b/payloads/libpayload/libcbfs/cbfs.c @@ -164,13 +164,13 @@ static void *do_load(union cbfs_mdata *mdata, ssize_t offset, void *buf, size_t if (buf) { if (!size_inout || *size_inout < out_size) { - ERROR("'%s' buffer too small", mdata->h.filename); + ERROR("'%s' buffer too small\n", mdata->h.filename); return NULL; } } else { buf = malloc(out_size); if (!buf) { - ERROR("'%s' allocation failure", mdata->h.filename); + ERROR("'%s' allocation failure\n", mdata->h.filename); return NULL; } malloced = true;