From 5445639f06312f01dce1ac0d8335f0d66104c604 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 22 Mar 2007 14:51:45 +0000 Subject: This is a trivial cosmetic fix. Without it, the error message might look like: Image size doesnt match: Success Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2573 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/flash_rom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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); } -- cgit v1.2.3