diff options
| -rw-r--r-- | executor/executor_linux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/executor_linux.h b/executor/executor_linux.h index a5a073ba0..e13f7bd8d 100644 --- a/executor/executor_linux.h +++ b/executor/executor_linux.h @@ -330,6 +330,8 @@ static const char* setup_kcov_reset_ioctl() int fd = open("/sys/kernel/debug/kcov", O_RDWR); if (fd == -1) return "open of /sys/kernel/debug/kcov failed"; + close(fd); + cover_t cov = {}; cov.fd = kCoverFd; cover_open(&cov, false); |
