diff options
Diffstat (limited to 'pkg/util/ref.go')
-rw-r--r-- | pkg/util/ref.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/util/ref.go b/pkg/util/ref.go index 57f2eac..aecfb9f 100644 --- a/pkg/util/ref.go +++ b/pkg/util/ref.go @@ -36,7 +36,7 @@ func (r *Ref[A, T]) Read() error { return err } if n != size { - return fmt.Errorf("util.Ref[%T].Read: left over data: read %d bytes but only consumed %d", + return fmt.Errorf("util.Ref[%T].Read: left over data: read %v bytes but only consumed %v", r.Data, size, n) } return nil |