summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-03-22 14:51:45 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2007-03-22 14:51:45 +0000
commitdf8a3c8300b594eb5519c389a07b8be529008c2e (patch)
tree462973e89dd9f3ddc9cf31a345849d50a99ad11d
parentd6b86cf9218c0975e8e5de5538e4f7183ec11be5 (diff)
downloadast2050-flashrom-df8a3c8300b594eb5519c389a07b8be529008c2e.zip
ast2050-flashrom-df8a3c8300b594eb5519c389a07b8be529008c2e.tar.gz
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>
-rw-r--r--flash_rom.c2
1 files changed, 1 insertions, 1 deletions
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 @@ int main(int argc, char *argv[])
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);
}
OpenPOWER on IntegriCloud