From eb872127d6b79db2bc8f07cbb5554a15d7f45065 Mon Sep 17 00:00:00 2001 From: Mateusz Poliwczak Date: Wed, 16 Nov 2022 18:22:44 +0100 Subject: [PATCH] fix compile err --- src/net/dnsclient_unix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/dnsclient_unix_test.go b/src/net/dnsclient_unix_test.go index 093c6b483f..81117b8c75 100644 --- a/src/net/dnsclient_unix_test.go +++ b/src/net/dnsclient_unix_test.go @@ -2518,7 +2518,7 @@ func TestLookupOrderFilesNoSuchHost(t *testing.T) { defer func(orig string) { testHookHostsPath = orig }(testHookHostsPath) if runtime.GOOS != "openbsd" { defer setSystemNSS(getSystemNSS(), 0) - setSystemNSS(nssStr("hosts: files"), time.Hour) + setSystemNSS(nssStr(t, "hosts: files"), time.Hour) } conf, err := newResolvConfTest()