Print size of file on cbfs_add_file failure. The size of the file after

compression is nice to know.  Trivial

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4941 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Myles Watson 2009-11-12 17:46:59 +00:00
parent bdf4157d81
commit 0d082d512e
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ int add_file_to_cbfs(void *content, uint32_t contentsize, uint32_t location)
ntohl(thisfile->offset), align);
}
printf("Could not add the file to CBFS, it's probably too big.\n");
printf("File size %d bytes (%dK).\n", contentsize, contentsize/1024);
return 1;
}