From 070dafc6fe0546468d135ff61ec08c45c53b5d23 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Wed, 16 Nov 2011 23:48:50 +0000 Subject: [PATCH] fix flashing, which was breaking --- flashutils/flash_image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flashutils/flash_image.c b/flashutils/flash_image.c index c9f3683..6e3e29d 100644 --- a/flashutils/flash_image.c +++ b/flashutils/flash_image.c @@ -84,8 +84,8 @@ int main(int argc, char **argv) { LOGW("error reading %s: %s\n", argv[1], strerror(errno)); // just assume it needs re-writing } else if (checklen == headerlen && !memcmp(header, check, headerlen)) { - LOGI("header is the same, not flashing %s\n", argv[1]); - return 0; + LOGI("header is the same, flashing %s anyway\n", argv[1]); + //return 0; } mtd_read_close(in); }