mirror of
https://github.com/golang/go
synced 2024-11-22 20:50:05 -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:
parent
ca1123f9c5
commit
ca3b1b13de
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user