summaryrefslogtreecommitdiff
path: root/util/cbfstool
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2011-01-17 05:08:32 +0000
committerPeter Stuge <peter@stuge.se>2011-01-17 05:08:32 +0000
commit441426b486f695b462731d1026c07fb15406dc68 (patch)
treef33d0da44faf0644b5fefd1c7e66274500782f3e /util/cbfstool
parentb347e0d8011883ac91683978a96eab28103af200 (diff)
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
Diffstat (limited to 'util/cbfstool')
-rw-r--r--util/cbfstool/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c
index 0fb02004d4..cbf0757aaa 100644
--- 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;