diff options
Diffstat (limited to 'pkg/util/bitfield.go')
-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 216837d..23da17a 100644 --- a/pkg/util/bitfield.go +++ b/pkg/util/bitfield.go @@ -36,7 +36,7 @@ func BitfieldString[T ~uint8 | ~uint16 | ~uint32 | ~uint64](bitfield T, bitnames if i < len(bitnames) { out.WriteString(bitnames[i]) } else { - fmt.Fprintf(&out, "(1<<%d)", i) + fmt.Fprintf(&out, "(1<<%v)", i) } first = false } |