projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf4157
)
Print size of file on cbfs_add_file failure. The size of the file after
author
Myles Watson
<mylesgw@gmail.com>
Thu, 12 Nov 2009 17:46:59 +0000
(17:46 +0000)
committer
Myles Watson
<mylesgw@gmail.com>
Thu, 12 Nov 2009 17:46:59 +0000
(17:46 +0000)
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
util/cbfstool/common.c
patch
|
blob
|
history
diff --git
a/util/cbfstool/common.c
b/util/cbfstool/common.c
index 1f69fa37f5d192c7b97489d230cc80b0b3f33ef2..c45c00769e9e47917af21851e171450f5497cb90 100644
(file)
--- 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;
}