diff options
author | Steve Block <steveblock@google.com> | 2012-01-05 23:28:01 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-05 23:28:01 +0000 |
commit | c0b74df335aa99e3c3f6f752de531836faa0c7c5 (patch) | |
tree | ed178c886acf40620d5cd0f6426816c906c73b61 | |
parent | e8646c237f337e21fe6ce2bcd38c178dfca8f8f2 (diff) | |
download | build-c0b74df335aa99e3c3f6f752de531836faa0c7c5.zip build-c0b74df335aa99e3c3f6f752de531836faa0c7c5.tar.gz build-c0b74df335aa99e3c3f6f752de531836faa0c7c5.tar.bz2 |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: I817c12b1e97bee598097d02c70d509f7ab70576a
-rw-r--r-- | tools/zipalign/ZipEntry.cpp | 2 | ||||
-rw-r--r-- | tools/zipalign/ZipFile.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/zipalign/ZipEntry.cpp b/tools/zipalign/ZipEntry.cpp index 5273a5d..d4d366d 100644 --- a/tools/zipalign/ZipEntry.cpp +++ b/tools/zipalign/ZipEntry.cpp @@ -90,7 +90,7 @@ status_t ZipEntry::initFromCDE(FILE* fp) * prefer the CDE values.) */ if (!hasDD && !compareHeaders()) { - LOGW("WARNING: header mismatch\n"); + ALOGW("WARNING: header mismatch\n"); // keep going? } diff --git a/tools/zipalign/ZipFile.cpp b/tools/zipalign/ZipFile.cpp index a2d5b80..6428e9d 100644 --- a/tools/zipalign/ZipFile.cpp +++ b/tools/zipalign/ZipFile.cpp @@ -603,7 +603,7 @@ status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, if (copyPartialFpToFp(mZipFp, pSourceZip->mZipFp, copyLen, NULL) != NO_ERROR) { - LOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); + ALOGW("copy of '%s' failed\n", pEntry->mCDE.mFileName); result = UNKNOWN_ERROR; goto bail; } @@ -931,7 +931,7 @@ status_t ZipFile::flush(void) * of wasted space at the end of the file. Remove it now. */ if (ftruncate(fileno(mZipFp), ftell(mZipFp)) != 0) { - LOGW("ftruncate failed %ld: %s\n", ftell(mZipFp), strerror(errno)); + ALOGW("ftruncate failed %ld: %s\n", ftell(mZipFp), strerror(errno)); // not fatal } |