Fix GPT end (#3390)

This commit is contained in:
codefiles 2025-04-13 01:01:42 -04:00 committed by GitHub
parent a842fb48a2
commit bb87cfacaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ class Size:
return self - Size(abs(src_norm % align_norm), Unit.B, self.sector_size)
def gpt_end(self) -> Size:
return self - Size(33, Unit.sectors, self.sector_size)
return self - Size(1, Unit.MiB, self.sector_size)
def _normalize(self) -> int:
"""