Fix checksum hex padding

This commit is contained in:
Ben Johnson
2021-01-17 09:52:09 -07:00
parent 4b65e6a88f
commit 04d75507e3
3 changed files with 31 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ func (p Pos) String() string {
if p.IsZero() {
return "<>"
}
return fmt.Sprintf("<%s,%d,%d>", p.Generation, p.Index, p.Offset)
return fmt.Sprintf("<%s,%08x,%d>", p.Generation, p.Index, p.Offset)
}
// IsZero returns true if p is the zero value.