From 441426b486f695b462731d1026c07fb15406dc68 Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Mon, 17 Jan 2011 05:08:32 +0000 Subject: cbfstool: When extracting, refer to files in CBFS as file instead of payload Signed-off-by: Peter Stuge Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6260 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/cbfstool/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') 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; -- cgit v1.2.3