Author: hailfinger
Date: 2009-05-07 02:59:53 +0200 (Thu, 07 May 2009)
New Revision: 471

Modified:
   trunk/flashrom.c
Log:
Always print the flashrom version as first output line.

Suggested by Peter Stuge.

Signed-off-by: Carl-Daniel Hailfinger <[email protected]>
Acked-by: Carl-Daniel Hailfinger <[email protected]>


Modified: trunk/flashrom.c
===================================================================
--- trunk/flashrom.c    2009-05-06 21:54:22 UTC (rev 470)
+++ trunk/flashrom.c    2009-05-07 00:59:53 UTC (rev 471)
@@ -369,6 +369,8 @@
        unsigned int exclude_start_position = 0, exclude_end_position = 0;      
// [x,y)
        char *tempstr = NULL, *tempstr2 = NULL;
 
+       print_version();
+
        if (argc > 1) {
                /* Yes, print them. */
                int i;
@@ -438,7 +440,7 @@
                        exit(0);
                        break;
                case 'R':
-                       print_version();
+                       /* print_version() is always called during startup. */
                        exit(0);
                        break;
                case 'h':


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

Reply via email to