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>
This commit is contained in:
parent
d9884d480b
commit
e904d9ad67
|
@ -164,13 +164,13 @@ static void *do_load(union cbfs_mdata *mdata, ssize_t offset, void *buf, size_t
|
||||||
|
|
||||||
if (buf) {
|
if (buf) {
|
||||||
if (!size_inout || *size_inout < out_size) {
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
buf = malloc(out_size);
|
buf = malloc(out_size);
|
||||||
if (!buf) {
|
if (!buf) {
|
||||||
ERROR("'%s' allocation failure", mdata->h.filename);
|
ERROR("'%s' allocation failure\n", mdata->h.filename);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
malloced = true;
|
malloced = true;
|
||||||
|
|
Loading…
Reference in New Issue