diff --git a/pefile.py b/pefile.py index 6c44211..d28ada2 100644 --- a/pefile.py +++ b/pefile.py @@ -7950,8 +7950,8 @@ def adjust_SectionAlignment(self, val, section_alignment, file_alignment): and self.SectionAlignment_Warning is False ): self.__warnings.append( - f"If SectionAlignment({section_alignment:x}) < 0x1000 it should " - f"equal FileAlignment({file_alignment:x})" + f"If SectionAlignment(0x{section_alignment:x}) < 0x1000 it should " + f"equal FileAlignment(0x{file_alignment:x})" ) self.SectionAlignment_Warning = True