Skip to content

Commit

Permalink
syz-ci: fix formatting of error message
Browse files Browse the repository at this point in the history
PrependContext prepends the string rather than format.
  • Loading branch information
dvyukov committed Mar 17, 2019
1 parent 699923c commit c1fd2f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syz-ci/updater.go
Expand Up @@ -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 {
Expand Down

0 comments on commit c1fd2f3

Please sign in to comment.