summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-08-27 12:58:00 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-08-27 12:58:00 -0700
commitad6731b0fc759e446504bca163d8fd2fb6326577 (patch)
treec7e086edd7ad6120a8e1ffeaf81dbdb6053995ba /libs
parent445ab76c49779998543bb78881f5d9f8ae81e598 (diff)
parent6329fdbded79bc659fedcd6b7051de8840a5de64 (diff)
downloadframeworks_base-ad6731b0fc759e446504bca163d8fd2fb6326577.zip
frameworks_base-ad6731b0fc759e446504bca163d8fd2fb6326577.tar.gz
frameworks_base-ad6731b0fc759e446504bca163d8fd2fb6326577.tar.bz2
Merge "Add debugging to ZipFileRO" into gingerbread
Diffstat (limited to 'libs')
-rw-r--r--libs/utils/ZipFileRO.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/utils/ZipFileRO.cpp b/libs/utils/ZipFileRO.cpp
index 604f558..a0e01c6 100644
--- a/libs/utils/ZipFileRO.cpp
+++ b/libs/utils/ZipFileRO.cpp
@@ -508,8 +508,8 @@ bool ZipFileRO::getEntryInfo(ZipEntryRO entry, int* pMethod, size_t* pUncompLen,
}
if (get4LE(lfhBuf) != kLFHSignature) {
- LOGW("didn't find signature at start of lfh, offset=%ld\n",
- localHdrOffset);
+ LOGW("didn't find signature at start of lfh, offset=%ld (got 0x%08lx, expected 0x%08x)\n",
+ localHdrOffset, get4LE(lfhBuf), kLFHSignature);
return false;
}