aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/instance/instance.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/instance/instance.go')
-rw-r--r--pkg/instance/instance.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go
index 4e28e0b92..a41a4cbc2 100644
--- a/pkg/instance/instance.go
+++ b/pkg/instance/instance.go
@@ -16,10 +16,10 @@ import (
"github.com/google/syzkaller/pkg/build"
"github.com/google/syzkaller/pkg/csource"
- "github.com/google/syzkaller/pkg/git"
"github.com/google/syzkaller/pkg/log"
"github.com/google/syzkaller/pkg/osutil"
"github.com/google/syzkaller/pkg/report"
+ "github.com/google/syzkaller/pkg/vcs"
"github.com/google/syzkaller/prog"
"github.com/google/syzkaller/syz-manager/mgrconfig"
"github.com/google/syzkaller/vm"
@@ -59,7 +59,7 @@ func (env *Env) BuildSyzkaller(repo, commit string) error {
if srcIndex == -1 {
return fmt.Errorf("syzkaller path %q is not in GOPATH", cfg.Syzkaller)
}
- if _, err := git.CheckoutCommit(cfg.Syzkaller, repo, commit); err != nil {
+ if _, err := vcs.CheckoutCommit(cfg.Syzkaller, repo, commit); err != nil {
return fmt.Errorf("failed to checkout syzkaller repo: %v", err)
}
cmd := osutil.Command("make", "target")