Skip to content

Commit 76ec919

Browse files
Ikko Eltociear Ashiminegopherbot
Ikko Eltociear Ashimine
authored andcommitted
net: fix typo in hosts.go
cannonical -> canonical Change-Id: I656ea210d8ef6eaa85245cb8f463f6b4fd67e1a2 GitHub-Last-Rev: 5a93045 GitHub-Pull-Request: #57633 Reviewed-on: https://go-review.googlesource.com/c/go/+/460756 Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: Damien Neil <[email protected]>
1 parent 660d481 commit 76ec919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/hosts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func readHosts() {
125125
file.close()
126126
}
127127

128-
// lookupStaticHost looks up the addresses and the cannonical name for the given host from /etc/hosts.
128+
// lookupStaticHost looks up the addresses and the canonical name for the given host from /etc/hosts.
129129
func lookupStaticHost(host string) ([]string, string) {
130130
hosts.Lock()
131131
defer hosts.Unlock()

0 commit comments

Comments
 (0)