diff options
author | Kenny Root <kroot@google.com> | 2010-09-02 15:53:26 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-02 15:53:26 -0700 |
commit | 871603074739320b8e7a82772da12c48587f3a40 (patch) | |
tree | 76d1bc76ad5ec3368779ad286e348e3207e80905 /libs/utils | |
parent | 355a17c4f853c235a18380e71e1aa446f72fa5eb (diff) | |
parent | 8d5250c601504da7a7fde3a3fd7b1c51335becdf (diff) | |
download | frameworks_base-871603074739320b8e7a82772da12c48587f3a40.zip frameworks_base-871603074739320b8e7a82772da12c48587f3a40.tar.gz frameworks_base-871603074739320b8e7a82772da12c48587f3a40.tar.bz2 |
am 8d5250c6: am 2e246549: Merge "Add better debug output for ResourceType errors" into gingerbread
Merge commit '8d5250c601504da7a7fde3a3fd7b1c51335becdf'
* commit '8d5250c601504da7a7fde3a3fd7b1c51335becdf':
Add better debug output for ResourceType errors
Diffstat (limited to 'libs/utils')
-rw-r--r-- | libs/utils/ResourceTypes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/utils/ResourceTypes.cpp b/libs/utils/ResourceTypes.cpp index 4362d14..91e7df3 100644 --- a/libs/utils/ResourceTypes.cpp +++ b/libs/utils/ResourceTypes.cpp @@ -1946,8 +1946,8 @@ ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag ssize_t offset = getEntry(package, t, e, &mParams, &type, &entry, &typeClass); if (offset <= 0) { if (offset < 0) { - LOGW("Failure getting entry for 0x%08x (t=%d e=%d) in package %d: 0x%08x\n", - resID, t, e, (int)ip, (int)offset); + LOGW("Failure getting entry for 0x%08x (t=%d e=%d) in package %zd (error %d)\n", + resID, t, e, ip, (int)offset); return offset; } continue; |