From: Jes Cok Date: Sun, 22 Sep 2024 03:41:38 +0000 (+0000) Subject: cmd/cgo: add missing args for fatalf X-Git-Tag: go1.24rc1~824 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ca3b1b13de4a6e66f0bd8e4678963e221a32b940;p=gostls13.git 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 --- diff --git a/src/cmd/cgo/out.go b/src/cmd/cgo/out.go index 20b688b7db..0f58528c59 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) } }