Bug 369411 - improve CRC error value in the update.log. r=dolske, a=approval2.0

This commit is contained in:
Robert Strong 2010-12-21 21:46:32 -08:00
parent 58314ef20d
commit 8744404790

View File

@ -976,7 +976,8 @@ PatchFile::LoadSourceFile(FILE* ofile)
unsigned int crc = crc32(buf, header.slen);
if (crc != header.scrc32) {
LOG(("CRC check failed\n"));
LOG(("LoadSourceFile: destination file crc %d does not match expected " \
"crc %d\n", crc, header.scrc32));
return CRC_ERROR;
}