aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-03-13 14:36:24 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-03-17 18:06:44 +0100
commitc1fd2f3b4aa8dc263c14ecc1c5bee9e721600407 (patch)
tree573cff599950b686c85e7df6761bd2519de356df
parent699923ce737c2cc5727cbd97833eca797510ad1b (diff)
syz-ci: fix formatting of error message
PrependContext prepends the string rather than format.
-rw-r--r--syz-ci/updater.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-ci/updater.go b/syz-ci/updater.go
index 163d88741..ad514a213 100644
--- a/syz-ci/updater.go
+++ b/syz-ci/updater.go
@@ -264,7 +264,7 @@ func (upd *SyzUpdater) build(commit *vcs.Commit) error {
"SYZ_DISABLE_SANDBOXING=yes",
}, os.Environ()...)
if _, err := osutil.Run(time.Hour, cmd); err != nil {
- return osutil.PrependContext("testing failed: %v", err)
+ return osutil.PrependContext("testing failed", err)
}
tagFile := filepath.Join(upd.syzkallerDir, "tag")
if err := osutil.WriteFile(tagFile, []byte(commit.Hash)); err != nil {