diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-05-21 18:19:14 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-21 18:22:54 +0200 |
| commit | 5afa2ddd5aa721e6eea3e51e2f5ed238479eec86 (patch) | |
| tree | fdf40ce67ca193671c8675d7f36800d42b2adb3f /tools/syz-check | |
| parent | 4db3f9927f5ff6d5d1fd72a20ee81a1eea18f698 (diff) | |
tools/syz-check: fix path calculation
pkg/ast now gives full file name in Pos.
Diffstat (limited to 'tools/syz-check')
| -rw-r--r-- | tools/syz-check/check.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-check/check.go b/tools/syz-check/check.go index 49152f481..29f88093a 100644 --- a/tools/syz-check/check.go +++ b/tools/syz-check/check.go @@ -185,7 +185,7 @@ func writeWarnings(OS string, narches int, warnings []Warn) error { } fmt.Fprintf(buf, "%v: %v%v\n", warn.typ, warn.msg, archStr) } - warnFile := filepath.Join("sys", OS, file+".warn") + warnFile := file + ".warn" if err := osutil.WriteFile(warnFile, buf.Bytes()); err != nil { return err } |
