examples/client: Fix opening of known hosts file

This commit is contained in:
Adnan Maolood 2021-02-09 09:48:47 -05:00
parent f6824bd813
commit 0e3b61ed00

View File

@ -36,7 +36,7 @@ func init() {
log.Fatal(err)
}
hostsfile, err = tofu.NewHostsFile(path)
hostsfile, err = tofu.OpenHostsFile(path)
if err != nil {
log.Fatal(err)
}