diff options
Diffstat (limited to 'pkg/config/config.go')
| -rw-r--r-- | pkg/config/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go index 8eb43fa58..503a5b466 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -7,7 +7,7 @@ import ( "bytes" "encoding/json" "fmt" - "io/ioutil" + "os" "regexp" "github.com/google/syzkaller/pkg/osutil" @@ -17,7 +17,7 @@ func LoadFile(filename string, cfg interface{}) error { if filename == "" { return fmt.Errorf("no config file specified") } - data, err := ioutil.ReadFile(filename) + data, err := os.ReadFile(filename) if err != nil { return fmt.Errorf("failed to read config file: %v", err) } |
