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;