diff options
Diffstat (limited to 'executor/executor_linux.h')
| -rw-r--r-- | executor/executor_linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/executor_linux.h b/executor/executor_linux.h index 57c2638ea..3a0620fcd 100644 --- a/executor/executor_linux.h +++ b/executor/executor_linux.h @@ -79,7 +79,7 @@ static void cover_open(cover_t* cov, bool extra) if (fd == -1) fail("open of /sys/kernel/debug/kcov failed"); if (dup2(fd, cov->fd) < 0) - fail("filed to dup2(%d, %d) cover fd", fd, cov->fd); + failmsg("filed to dup cover fd", "from=%d, to=%d", fd, cov->fd); close(fd); const int kcov_init_trace = is_kernel_64_bit ? KCOV_INIT_TRACE64 : KCOV_INIT_TRACE32; const int cover_size = extra ? kExtraCoverSize : kCoverSize; |
