Merge "Fix settings restore"

This commit is contained in:
Christopher Tate 2011-06-24 15:15:51 -07:00 committed by Android (Google) Code Review
commit 8408da0556

View File

@ -285,7 +285,8 @@ BackupDataReader::ReadNextHeader(bool* done, int* type)
break; break;
} }
default: 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; m_status = EINVAL;
} }