1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-26 22:52:34 +02:00

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>
This commit is contained in:
Stefan Reinauer 2007-03-22 14:51:45 +00:00 committed by Stefan Reinauer
parent d6b86cf921
commit df8a3c8300

View File

@ -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);
}