Skip to content

Commit

Permalink
Fix how utils/rzxinfo.py prints the name of an external snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
skoolkid committed Feb 13, 2024
1 parent c89ea82 commit 8cbb955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/rzxinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _show_blocks(data, options):
print(f' Size: {length} bytes')
sdata = data[i + 17:i + block_len]
if flags & 1:
ext_sname = ''.join(chr(b) for b in sdata[4:])
ext_sname = _get_str(sdata, 4)
print(f' External snapshot: {ext_sname}')
else:
if flags & 2:
Expand Down

0 comments on commit 8cbb955

Please sign in to comment.