From ca3b1b13de4a6e66f0bd8e4678963e221a32b940 Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Sun, 22 Sep 2024 03:41:38 +0000 Subject: [PATCH] cmd/cgo: add missing args for fatalf Change-Id: I56b40a9d2ff85fdbc0d170aec686f1868176e068 GitHub-Last-Rev: 9424faf0f8e1fa7c63ae3195f255e7f112444871 GitHub-Pull-Request: golang/go#69578 Reviewed-on: https://go-review.googlesource.com/c/go/+/614556 Auto-Submit: Ian Lance Taylor Reviewed-by: Zxilly Chou Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: David Chase --- src/cmd/cgo/out.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/cgo/out.go b/src/cmd/cgo/out.go index 20b688b7db2..0f58528c593 100644 --- a/src/cmd/cgo/out.go +++ b/src/cmd/cgo/out.go @@ -447,7 +447,7 @@ func checkImportSymName(s string) { } } if strings.Contains(s, "//") || strings.Contains(s, "/*") { - fatalf("dynamic symbol %q contains Go comment") + fatalf("dynamic symbol %q contains Go comment", s) } }