diff --git a/src/cmd/compile/internal/ssagen/abi.go b/src/cmd/compile/internal/ssagen/abi.go index 3a767d6d1ce..84d5b5951c2 100644 --- a/src/cmd/compile/internal/ssagen/abi.go +++ b/src/cmd/compile/internal/ssagen/abi.go @@ -204,7 +204,7 @@ func (s *SymABIs) GenABIWrappers() { // Double check that cgo-exported symbols don't get // any wrappers. if len(cgoExport) > 0 && fn.ABIRefs&^obj.ABISetOf(fn.ABI) != 0 { - base.Fatalf("cgo exported function %s cannot have ABI wrappers", fn) + base.Fatalf("cgo exported function %v cannot have ABI wrappers", fn) } if !buildcfg.Experiment.RegabiWrappers {