Author: stefanct
Date: Sun Jun 26 19:47:40 2011
New Revision: 1355
URL: http://flashrom.org/trac/flashrom/changeset/1355

Log:
add a success indicator to the "Reading old flash chip contents..." message

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

Modified:
   trunk/flashrom.c

Modified: trunk/flashrom.c
==============================================================================
--- trunk/flashrom.c    Sun Jun 26 19:38:17 2011        (r1354)
+++ trunk/flashrom.c    Sun Jun 26 19:47:40 2011        (r1355)
@@ -1914,11 +1914,13 @@
         * preserved, but in that case we might perform unneeded erase which
         * takes time as well.
         */
-       msg_cdbg("Reading old flash chip contents...\n");
+       msg_cdbg("Reading old flash chip contents... ");
        if (flash->read(flash, oldcontents, 0, size)) {
                ret = 1;
+               msg_cdbg("FAILED.\n");
                goto out;
        }
+       msg_cdbg("done.\n");
 
        // This should be moved into each flash part's code to do it 
        // cleanly. This does the job.

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to