aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flash_rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash_rom.c b/flash_rom.c
index ac530d08..8d04b92a 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);
}