fix compile err

This commit is contained in:
Mateusz Poliwczak 2022-11-16 18:22:44 +01:00
parent 62f2eec61f
commit eb872127d6
1 changed files with 1 additions and 1 deletions

View File

@ -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()