superiotool: Don't compile with -Werror
[coreboot.git] / util / cbfstool / common.c
index a42585b7761b6e7f107ba395baccd86ed354be47..cbf0757aaab152ba045394fd583b45d75df868ea 100644 (file)
@@ -145,6 +145,7 @@ struct filetypes_t {
        {CBFS_COMPONENT_VSA, "vsa"},
        {CBFS_COMPONENT_MBI, "mbi"},
        {CBFS_COMPONENT_MICROCODE, "microcode"},
+       {CBFS_COMPONENT_CMOS_DEFAULT, "cmos default"},
        {CBFS_COMPONENT_DELETED, "deleted"},
        {CBFS_COMPONENT_NULL, "null"}
 };
@@ -240,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);
 
@@ -261,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;