aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vm.go')
-rw-r--r--vm/vm.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/vm.go b/vm/vm.go
index d5a1f35db..4664bb576 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -179,7 +179,7 @@ const (
// Exit says which exit modes should be considered as errors/OK.
// Returns a non-symbolized crash report, or nil if no error happens.
func (inst *Instance) MonitorExecution(outc <-chan []byte, errc <-chan error,
- reporter report.Reporter, exit ExitCondition) (rep *report.Report) {
+ reporter *report.Reporter, exit ExitCondition) (rep *report.Report) {
mon := &monitor{
inst: inst,
outc: outc,
@@ -266,7 +266,7 @@ type monitor struct {
inst *Instance
outc <-chan []byte
errc <-chan error
- reporter report.Reporter
+ reporter *report.Reporter
exit ExitCondition
output []byte
matchPos int