[LinuxBIOS] r2573 - trunk/LinuxBIOSv2/util/flashrom

svn at openbios.org svn at openbios.org
Thu Mar 22 15:51:45 CET 2007


Author: stepan
Date: 2007-03-22 15:51:45 +0100 (Thu, 22 Mar 2007)
New Revision: 2573

Modified:
   trunk/LinuxBIOSv2/util/flashrom/flash_rom.c
Log:
This is a trivial cosmetic fix. Without it, the error message might look like:
Image size doesnt match: Success

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>



Modified: trunk/LinuxBIOSv2/util/flashrom/flash_rom.c
===================================================================
--- trunk/LinuxBIOSv2/util/flashrom/flash_rom.c	2007-03-20 13:43:50 UTC (rev 2572)
+++ trunk/LinuxBIOSv2/util/flashrom/flash_rom.c	2007-03-22 14:51:45 UTC (rev 2573)
@@ -345,7 +345,7 @@
 			exit(1);
 		}
 		if(image_stat.st_size!=flash->total_size*1024) {
-			perror("Image size doesnt match");
+			fprintf(stderr, "Error: Image size doesnt match\n");
 			exit(1);
 		}
 





More information about the coreboot mailing list