summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kenny Root <kroot@google.com> 2010-08-27 13:00:22 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2010-08-27 13:00:22 -0700
commit8e724905261bf4913bac75adc64fb08ed5ba8b7d (patch)
treec5f7572f43c5422019b9b9c23cca2cb501f88777
parent95464c9aa063d2e36a0385a60edd6ee519ed2d85 (diff)
parentad6731b0fc759e446504bca163d8fd2fb6326577 (diff)
am ad6731b0: Merge "Add debugging to ZipFileRO" into gingerbread
Merge commit 'ad6731b0fc759e446504bca163d8fd2fb6326577' into gingerbread-plus-aosp * commit 'ad6731b0fc759e446504bca163d8fd2fb6326577': Add debugging to ZipFileRO
-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 604f55876e55..a0e01c693dde 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;
}