Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03d3c5f9 authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "libsparse: fix crc chunk parsing in simg_dump.py"

parents 4f021538 4cc39782
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -135,7 +135,7 @@ def main():
          break;
          break;
        else:
        else:
          crc_bin = FH.read(4)
          crc_bin = FH.read(4)
          crc = struct.unpack("<I", crc)
          crc = struct.unpack("<I", crc_bin)
          print("Unverified CRC32 0x%08X" % (crc))
          print("Unverified CRC32 0x%08X" % (crc))
      else:
      else:
          print("Unknown chunk type 0x%04X" % (chunk_type), end="")
          print("Unknown chunk type 0x%04X" % (chunk_type), end="")