Rename this variable

This commit is contained in:
Miek Gieben 2014-01-19 07:45:16 +00:00
parent e78a7436aa
commit fd12a9cea4
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ type ClientConfig struct {
// ClientConfigFromFile parses a resolv.conf(5) like file and returns
// a *ClientConfig.
func ClientConfigFromFile(conf string) (*ClientConfig, error) {
file, err := os.Open(conf)
func ClientConfigFromFile(resolvconf string) (*ClientConfig, error) {
file, err := os.Open(resolvconf)
if err != nil {
return nil, err
}