summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libcbfs
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2022-02-17 15:03:25 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-21 15:15:37 +0000
commite904d9ad67f504cfc2117d087e8e3507a3ab97eb (patch)
treee55b761da88ee4a6b324668b7cea8726cb30fd25 /payloads/libpayload/libcbfs
parentd9884d480b8117cdef6b14cbb1ed8bd07d8bca41 (diff)
libpayload/cbfs: Add missing new line at the end of error messages
Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: Ieec281e4f1c67e40976892b3dd1780d2f3802df4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62125 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads/libpayload/libcbfs')
-rw-r--r--payloads/libpayload/libcbfs/cbfs.c4
1 files 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;