From 3bb708b4c5a2dd7b11d0165d5a2f8e10cdfafe37 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 6 Feb 2017 15:58:22 +0100 Subject: ipc: print call number on corrupted output region --- ipc/ipc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipc/ipc.go b/ipc/ipc.go index a014ab56b..ceff20134 100644 --- a/ipc/ipc.go +++ b/ipc/ipc.go @@ -274,8 +274,8 @@ func (env *Env) readOutCoverage(p *prog.Prog) (info []CallInfo, err0 error) { } c := p.Calls[callIndex] if num := c.Meta.ID; uint32(num) != callNum { - err0 = fmt.Errorf("executor %v: failed to read output coverage: call %v: expect syscall %v, got %v, executed %v (cov: %v)", - env.pid, callIndex, num, callNum, ncmd, dumpCov()) + err0 = fmt.Errorf("executor %v: failed to read output coverage: record %v call %v: expect syscall %v, got %v, executed %v (cov: %v)", + env.pid, i, callIndex, num, callNum, ncmd, dumpCov()) return } if info[callIndex].Signal != nil { -- cgit mrf-deployment