aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/conf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/conf.go b/src/net/conf.go
index 99717dbf8c..649ebcfb18 100644
--- a/src/net/conf.go
+++ b/src/net/conf.go
@@ -151,7 +151,7 @@ func initConfVal() {
}
}
-// goosPreferCgo reports whether the GOOS value passed in prefers
+// goosPrefersCgo reports whether the GOOS value passed in prefers
// the cgo resolver.
func goosPrefersCgo() bool {
switch runtime.GOOS {