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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6260 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -241,7 +241,7 @@ int extract_file_from_cbfs(const char *filename, const char *payloadname, const
|
||||
}
|
||||
|
||||
// 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 @@ int extract_file_from_cbfs(const char *filename, const char *payloadname, const
|
||||
+ 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;
|
||||
|
Reference in New Issue
Block a user