aboutsummaryrefslogtreecommitdiff
path: root/src/internal/pkgbits/support.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/pkgbits/support.go')
-rw-r--r--src/internal/pkgbits/support.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/pkgbits/support.go b/src/internal/pkgbits/support.go
index f7579dfdc4..50534a2955 100644
--- a/src/internal/pkgbits/support.go
+++ b/src/internal/pkgbits/support.go
@@ -12,6 +12,6 @@ func assert(b bool) {
}
}
-func errorf(format string, args ...any) {
+func panicf(format string, args ...any) {
panic(fmt.Errorf(format, args...))
}