summaryrefslogtreecommitdiff
path: root/tools/aapt/ZipFile.cpp
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2012-01-19 14:47:09 -0800
committer android code review <noreply-gerritcodereview@google.com> 2012-01-19 14:47:09 -0800
commita826f9e2c4f6329d8d48c927f6e942e78ffaf92f (patch)
tree3a4bea403affd07f7611fe13da8cbf64a61ee3e3 /tools/aapt/ZipFile.cpp
parent4f367f3387887c538c81c34cc8becaea6fa5e430 (diff)
parenta51f0e707f1f3142358aa919ea60ad2842803139 (diff)
Merge "Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)"
Diffstat (limited to 'tools/aapt/ZipFile.cpp')
-rw-r--r--tools/aapt/ZipFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/ZipFile.cpp b/tools/aapt/ZipFile.cpp
index a2d5b80063a1..6428e9d4d421 100644
--- a/tools/aapt/ZipFile.cpp
+++ b/tools/aapt/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
}