diff options
| author | Taras Madan <tarasmadan@google.com> | 2023-02-23 14:28:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-23 14:28:18 +0100 |
| commit | 4359978ef22a22ddd5a19adf18cbc80cb44244fb (patch) | |
| tree | 7952da94e27417b39ddf952d9e0bab431dafc4c5 /tools/syz-hubtool | |
| parent | 9e2ebb3c174f1e168bc1fbadd5f02f2e25e314fc (diff) | |
all: ioutil is deprecated in go1.19 (#3718)
Diffstat (limited to 'tools/syz-hubtool')
| -rw-r--r-- | tools/syz-hubtool/hubtool.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syz-hubtool/hubtool.go b/tools/syz-hubtool/hubtool.go index 916c7e9ab..69175b469 100644 --- a/tools/syz-hubtool/hubtool.go +++ b/tools/syz-hubtool/hubtool.go @@ -6,9 +6,9 @@ package main import ( "flag" - "io/ioutil" "log" "net/http" + "os" "path/filepath" "runtime" "time" @@ -119,7 +119,7 @@ func loadRepros(target *prog.Target, reproGlob string) [][]byte { var repros [][]byte dedup := make(map[string]bool) for _, file := range files { - data, err := ioutil.ReadFile(file) + data, err := os.ReadFile(file) if err != nil { log.Fatal(err) } |
