commit | 8408da055687fdadb24b4afdea9cbc73d8790db0 | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Fri Jun 24 15:15:51 2011 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Jun 24 15:15:51 2011 -0700 |
tree | f42f28d7f039ef056fbfa8d9d2491d7d3578adfb | |
parent | 52e0ba6cf2f19d487b050b96767795d765782329 [diff] | |
parent | cd604a1a6e20aa43ebf21b4a1aa05e594c81747f [diff] |
Merge "Fix settings restore"
diff --git a/libs/utils/BackupData.cpp b/libs/utils/BackupData.cpp index f963058..8791263 100644 --- a/libs/utils/BackupData.cpp +++ b/libs/utils/BackupData.cpp
@@ -285,7 +285,8 @@ break; } default: - LOGD("Chunk header at %d has invalid type: 0x%08x", (int)m_pos, (int)m_header.type); + LOGD("Chunk header at %d has invalid type: 0x%08x", + (int)(m_pos - sizeof(m_header)), (int)m_header.type); m_status = EINVAL; }