summaryrefslogtreecommitdiffstats
path: root/libs/utils
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-08-27 13:00:22 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-08-27 13:00:22 -0700
commitec8b61fb4cbc44dc8447ee4e8d799c0939868b8a (patch)
tree02a38a349f6e5b97eb31a53d23bad588b7090ff1 /libs/utils
parentdfe1dd29a6091186916265a71df101af559735e6 (diff)
parente96ad7bc45ac0532984e8b9e2cd78e87078d14ff (diff)
downloadframeworks_native-ec8b61fb4cbc44dc8447ee4e8d799c0939868b8a.zip
frameworks_native-ec8b61fb4cbc44dc8447ee4e8d799c0939868b8a.tar.gz
frameworks_native-ec8b61fb4cbc44dc8447ee4e8d799c0939868b8a.tar.bz2
am ad6731b0: Merge "Add debugging to ZipFileRO" into gingerbread
Merge commit 'ad6731b0fc759e446504bca163d8fd2fb6326577' into gingerbread-plus-aosp * commit 'ad6731b0fc759e446504bca163d8fd2fb6326577': Add debugging to ZipFileRO
Diffstat (limited to 'libs/utils')
-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;
}