Author: myles
Date: 2009-11-12 18:46:59 +0100 (Thu, 12 Nov 2009)
New Revision: 4941

Modified:
   trunk/util/cbfstool/common.c
Log:
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 <[email protected]>
Acked-by: Myles Watson <[email protected]>


Modified: trunk/util/cbfstool/common.c
===================================================================
--- trunk/util/cbfstool/common.c        2009-11-12 17:25:16 UTC (rev 4940)
+++ trunk/util/cbfstool/common.c        2009-11-12 17:46:59 UTC (rev 4941)
@@ -250,6 +250,7 @@
                          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;
 }
 


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to