1
0
mirror of https://github.com/golang/go synced 2024-11-22 16:44:54 -07:00

cmd/cgo: add missing args for fatalf

Change-Id: I56b40a9d2ff85fdbc0d170aec686f1868176e068
GitHub-Last-Rev: 9424faf0f8
GitHub-Pull-Request: golang/go#69578
Reviewed-on: https://go-review.googlesource.com/c/go/+/614556
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Zxilly Chou <zxilly@outlook.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
Jes Cok 2024-09-22 03:41:38 +00:00 committed by Gopher Robot
parent ca1123f9c5
commit ca3b1b13de

View File

@ -447,7 +447,7 @@ func checkImportSymName(s string) {
} }
} }
if strings.Contains(s, "//") || strings.Contains(s, "/*") { if strings.Contains(s, "//") || strings.Contains(s, "/*") {
fatalf("dynamic symbol %q contains Go comment") fatalf("dynamic symbol %q contains Go comment", s)
} }
} }