Merge "simg_dump.py: fix error for CHUNK_TYPE_FILL"

This commit is contained in:
Treehugger Robot 2022-10-03 15:51:33 +00:00 committed by Gerrit Code Review
commit f2065c8890

View file

@ -158,7 +158,7 @@ def main():
curtype = format("Fill with 0x%08X" % (fill))
if showhash:
h = hashlib.sha1()
data = fill_bin * (blk_sz / 4);
data = fill_bin * (blk_sz // 4);
for block in range(chunk_sz):
h.update(data)
curhash = h.hexdigest()