summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}