Author: stuge Date: Mon Jan 17 06:08:32 2011 New Revision: 6260 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6260
Log: cbfstool: When extracting, refer to files in CBFS as file instead of payload
Signed-off-by: Peter Stuge peter@stuge.se Acked-by: Peter Stuge peter@stuge.se
Modified: trunk/util/cbfstool/common.c
Modified: trunk/util/cbfstool/common.c ============================================================================== --- trunk/util/cbfstool/common.c Mon Jan 17 06:02:09 2011 (r6259) +++ trunk/util/cbfstool/common.c Mon Jan 17 06:08:32 2011 (r6260) @@ -241,7 +241,7 @@ }
// Else, it's our file. - printf("Found %.30s payload at 0x%x, type %.12s, size %d\n", fname, + printf("Found file %.30s at 0x%x, type %.12s, size %d\n", fname, current - phys_start, strfiletype(ntohl(thisfile->type)), length);
@@ -262,7 +262,7 @@ + ntohl(thisfile->offset), length, 1, outfile);
fclose(outfile); - printf("Successfully dumped the payload.\n"); + printf("Successfully dumped the file.\n");
// We'll only dump one file. return 0;