summaryrefslogtreecommitdiffstats
path: root/libs/utils
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-08-27 16:18:44 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-08-27 16:18:44 -0700
commitb940c7e90115e5756c2872d3fb84a22cdba3dca0 (patch)
tree3da1d8d0a16d08bae8a68c1b9a23cd5a4a40992c /libs/utils
parentbb5d3b2148ca935f7b1254ce76318f21f62e01eb (diff)
parentec8b61fb4cbc44dc8447ee4e8d799c0939868b8a (diff)
downloadframeworks_native-b940c7e90115e5756c2872d3fb84a22cdba3dca0.zip
frameworks_native-b940c7e90115e5756c2872d3fb84a22cdba3dca0.tar.gz
frameworks_native-b940c7e90115e5756c2872d3fb84a22cdba3dca0.tar.bz2
am 8e724905: am ad6731b0: Merge "Add debugging to ZipFileRO" into gingerbread
Merge commit '8e724905261bf4913bac75adc64fb08ed5ba8b7d' * commit '8e724905261bf4913bac75adc64fb08ed5ba8b7d': 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;
}