aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-repro
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-17 12:29:35 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-06-17 14:41:10 +0200
commit75c73461d8c3025e9974da2215000d849c43bbbc (patch)
tree4d725dc979b32eb3a693941511a4c1296b159c17 /tools/syz-repro
parent4cc7e0862826e6703642cfbf6440e3ef8fd8da0e (diff)
syz-manager/config: rename to syz-manager/mgrconfig
We have 2 packages with the same name: pkg/config and syz-manager/config. This leads to constant clashes. We either rename one to pkgconfig or another to mgrconfig. This is not good and will become worse when/if we have another program-specific config in a separate package. Rename manager config to mgrconfig. Other program-specific configs can use the same convention in future -- fooconfig.
Diffstat (limited to 'tools/syz-repro')
-rw-r--r--tools/syz-repro/repro.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syz-repro/repro.go b/tools/syz-repro/repro.go
index 6f26f695f..317d42fc0 100644
--- a/tools/syz-repro/repro.go
+++ b/tools/syz-repro/repro.go
@@ -14,7 +14,7 @@ import (
"github.com/google/syzkaller/csource"
. "github.com/google/syzkaller/pkg/log"
"github.com/google/syzkaller/repro"
- "github.com/google/syzkaller/syz-manager/config"
+ "github.com/google/syzkaller/syz-manager/mgrconfig"
"github.com/google/syzkaller/vm"
)
@@ -26,7 +26,7 @@ var (
func main() {
os.Args = append(append([]string{}, os.Args[0], "-v=10"), os.Args[1:]...)
flag.Parse()
- cfg, _, err := config.Parse(*flagConfig)
+ cfg, _, err := mgrconfig.Parse(*flagConfig)
if err != nil {
Fatalf("%v", err)
}