summaryrefslogtreecommitdiff
path: root/util/flashrom
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-03-22 14:51:45 +0000
committerStefan Reinauer <stepan@openbios.org>2007-03-22 14:51:45 +0000
commit5445639f06312f01dce1ac0d8335f0d66104c604 (patch)
tree276d33a4f9d81b0ed9bfbe370e550dcb3b0a64f9 /util/flashrom
parent999bc60d5fb76f557c94ff55d753773cdc6bfa1c (diff)
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@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2573 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom')
-rw-r--r--util/flashrom/flash_rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/flash_rom.c b/util/flashrom/flash_rom.c
index ac530d08b6..8d04b92a61 100644
--- a/util/flashrom/flash_rom.c
+++ b/util/flashrom/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);
}