This is a trivial cosmetic fix
Without it, the error message might look like: Image size doesnt match:
Success
Corresponding to flashrom svn r95 and coreboot v2 svn r2573.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
diff --git a/flash_rom.c b/flash_rom.c
index ac530d0..8d04b92 100644
--- a/flash_rom.c
+++ b/flash_rom.c
@@ -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);
}