diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-11-12 17:46:59 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-11-12 17:46:59 +0000 |
commit | 0d082d512eb8346552ec5187eb1acd1c99fe36c7 (patch) | |
tree | 824360b180152f5aecb06814de7a42e150902cf4 /util/cbfstool | |
parent | bdf4157d818f67077863ea510b86b567f8afc41a (diff) | |
download | coreboot-0d082d512eb8346552ec5187eb1acd1c99fe36c7.tar.xz |
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
Diffstat (limited to 'util/cbfstool')
-rw-r--r-- | util/cbfstool/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c index 1f69fa37f5..c45c00769e 100644 --- a/util/cbfstool/common.c +++ b/util/cbfstool/common.c @@ -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; } |