diff options
author | Steve Block <steveblock@google.com> | 2012-01-04 22:07:44 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-04 22:07:44 +0100 |
commit | adb5c2fbc9b5ff025a688c073eccd00967f803f5 (patch) | |
tree | 6ba91c9ed551d233dc6d8f838c4e711244c5f8c3 | |
parent | mount cache before sideloading from external storage (diff) | |
download | android_bootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.tar android_bootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.tar.gz android_bootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.tar.bz2 android_bootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.tar.lz android_bootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.tar.xz android_bootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.tar.zst android_bootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.zip |
-rw-r--r-- | mtdutils/flash_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mtdutils/flash_image.c b/mtdutils/flash_image.c index c77687602..7ef6064f5 100644 --- a/mtdutils/flash_image.c +++ b/mtdutils/flash_image.c @@ -83,14 +83,14 @@ 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]); + ALOGI("header is the same, not flashing %s\n", argv[1]); return 0; } mtd_read_close(in); } // Skip the header (we'll come back to it), write everything else - LOGI("flashing %s from %s\n", argv[1], argv[2]); + ALOGI("flashing %s from %s\n", argv[1], argv[2]); MtdWriteContext *out = mtd_write_partition(partition); if (out == NULL) die("error writing %s", argv[1]); |