commit | 03d3c5f9c0171cb9666bcb70242608cafd041f8c | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@google.com> | Thu Apr 30 17:25:00 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Apr 30 17:25:00 2015 +0000 |
tree | 3ca7d00d9e0b3a91b5928b7de976b01b531a34f6 | |
parent | 4f021538a662c89e2bf81b3467d2ff03e34905e2 [diff] | |
parent | 4cc3978276cd70936a35ad5f10b1d67e20a3888e [diff] |
Merge "libsparse: fix crc chunk parsing in simg_dump.py"
diff --git a/libsparse/simg_dump.py b/libsparse/simg_dump.py index 6ece31d..c70d45f 100755 --- a/libsparse/simg_dump.py +++ b/libsparse/simg_dump.py
@@ -135,7 +135,7 @@ break; else: crc_bin = FH.read(4) - crc = struct.unpack("<I", crc) + crc = struct.unpack("<I", crc_bin) print("Unverified CRC32 0x%08X" % (crc)) else: print("Unknown chunk type 0x%04X" % (chunk_type), end="")