diff options
Diffstat (limited to 'pkg/util')
-rw-r--r-- | pkg/util/bitfield.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/util/bitfield.go b/pkg/util/bitfield.go index 5e2ba06..bf7812e 100644 --- a/pkg/util/bitfield.go +++ b/pkg/util/bitfield.go @@ -7,7 +7,7 @@ import ( func BitfieldString[T ~uint8 | ~uint16 | ~uint32 | ~uint64](bitfield T, bitnames []string) string { var out strings.Builder - fmt.Fprintf(&out, "0x%0X", uint64(bitfield)) + fmt.Fprintf(&out, "0x%0x", uint64(bitfield)) if bitfield == 0 { out.WriteString("(none)") } else { |