Author: ward
Date: 2009-05-14 05:00:15 +0200 (Thu, 14 May 2009)
New Revision: 4284

Modified:
   trunk/coreboot-v2/util/cbfstool/print.c
Log:

The cbfstool print command should pretty-print the type of components that are
type 'deleted'.

Signed-off-by: Ward Vandewege <[email protected]>
Acked-by: Peter Stuge <[email protected]>



Modified: trunk/coreboot-v2/util/cbfstool/print.c
===================================================================
--- trunk/coreboot-v2/util/cbfstool/print.c     2009-05-13 20:11:04 UTC (rev 
4283)
+++ trunk/coreboot-v2/util/cbfstool/print.c     2009-05-14 03:00:15 UTC (rev 
4284)
@@ -57,6 +57,9 @@
                case CBFS_COMPONENT_NULL:
                        strcpy(type, "free");
                        break;
+               case CBFS_COMPONENT_DELETED:
+                       strcpy(type, "deleted");
+                       break;
                default:
                        sprintf(type, "0x%8.8x", htonl(c->type));
                        break;


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to