]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: correct function name in comment
authorIan Lance Taylor <iant@golang.org>
Tue, 5 Sep 2023 21:39:56 +0000 (14:39 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 5 Sep 2023 21:59:53 +0000 (21:59 +0000)
Change-Id: I9d8056117367998c3723ec4cc09f47b46ec8b4ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/525855
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>

src/cmd/go/internal/load/pkg.go

index 1adc9220ba5e3137fd3dfcd808e1c62110763bb5..33e46f5f6515d64b1527194c535213b8902ca5f0 100644 (file)
@@ -2596,7 +2596,7 @@ func LinkerDeps(p *Package) ([]string, error) {
        return deps, nil
 }
 
-// externalLinkingForced reports the reason external linking is required
+// externalLinkingReason reports the reason external linking is required
 // even for programs that do not use cgo, or the empty string if external
 // linking is not required.
 func externalLinkingReason(p *Package) (what string) {