From c1fd2f3b4aa8dc263c14ecc1c5bee9e721600407 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 13 Mar 2019 14:36:24 +0100 Subject: syz-ci: fix formatting of error message PrependContext prepends the string rather than format. --- syz-ci/updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit mrf-deployment