projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b347e0d
)
cbfstool: When extracting, refer to files in CBFS as file instead of payload
author
Peter Stuge
<peter@stuge.se>
Mon, 17 Jan 2011 05:08:32 +0000
(
05:08
+0000)
committer
Peter Stuge
<peter@stuge.se>
Mon, 17 Jan 2011 05:08:32 +0000
(
05:08
+0000)
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
util/cbfstool/common.c
patch
|
blob
|
history
diff --git
a/util/cbfstool/common.c
b/util/cbfstool/common.c
index 0fb02004d4fdede7551b7644e5c05fef1c265920..cbf0757aaab152ba045394fd583b45d75df868ea 100644
(file)
--- a/
util/cbfstool/common.c
+++ b/
util/cbfstool/common.c
@@
-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;