aboutsummaryrefslogtreecommitdiffstats
path: root/mtdutils
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-04 21:07:44 +0000
committerSteve Block <steveblock@google.com>2012-01-04 21:07:44 +0000
commitadb5c2fbc9b5ff025a688c073eccd00967f803f5 (patch)
tree6ba91c9ed551d233dc6d8f838c4e711244c5f8c3 /mtdutils
parentd9428e3d3e2b94812bb8c2363fc1fde03c906a82 (diff)
downloadbootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.zip
bootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.tar.gz
bootable_recovery-adb5c2fbc9b5ff025a688c073eccd00967f803f5.tar.bz2
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
Diffstat (limited to 'mtdutils')
-rw-r--r--mtdutils/flash_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mtdutils/flash_image.c b/mtdutils/flash_image.c
index c776876..7ef6064 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]);