diff options
Diffstat (limited to 'executor/executor_bsd.h')
| -rw-r--r-- | executor/executor_bsd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/executor_bsd.h b/executor/executor_bsd.h index a9440acec..d3ef16bce 100644 --- a/executor/executor_bsd.h +++ b/executor/executor_bsd.h @@ -74,7 +74,7 @@ static void cover_open(cover_t* cov, bool extra) cover_size = (256 << 10); // maximum size struct kcov_ioc_remote_attach args; args.subsystem = KCOV_REMOTE_VHCI; - args.id = procid + 1; // port number + args.id = KCOV_REMOTE_VHCI_ID(procid, 1); // first port if (ioctl(cov->fd, KCOV_IOC_REMOTE_ATTACH, &args)) fail("ioctl remote attach failed"); } else { |
