From 5a93045add2f2a6885b46377c784f665ab465cfd Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Fri, 6 Jan 2023 02:51:10 +0900 Subject: [PATCH] net: fix typo in hosts.go cannonical -> canonical --- src/net/hosts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/hosts.go b/src/net/hosts.go index 7c8642c6ac..dbf8fea136 100644 --- a/src/net/hosts.go +++ b/src/net/hosts.go @@ -125,7 +125,7 @@ func readHosts() { file.close() } -// lookupStaticHost looks up the addresses and the cannonical name for the given host from /etc/hosts. +// lookupStaticHost looks up the addresses and the canonical name for the given host from /etc/hosts. func lookupStaticHost(host string) ([]string, string) { hosts.Lock() defer hosts.Unlock()