From adb5c2fbc9b5ff025a688c073eccd00967f803f5 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Wed, 4 Jan 2012 21:07:44 +0000 Subject: Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: I3b4ea2184555bc0b570ec858601d4c43ecffb6f8 --- mtdutils/flash_image.c | 4 ++-- 1 file 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]); -- cgit v1.2.3