summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-03-22 14:51:45 +0000
committerStefan Reinauer <stepan@coresystems.de>2007-03-22 14:51:45 +0000
commit596883208e496000bc5f3bd7ecf29133ec657d9f (patch)
tree462973e89dd9f3ddc9cf31a345849d50a99ad11d
parent6cbee9cc050693ccf486929b4a4dd74c78876de2 (diff)
downloadflashrom-596883208e496000bc5f3bd7ecf29133ec657d9f.zip
flashrom-596883208e496000bc5f3bd7ecf29133ec657d9f.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