aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-runner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-runner.c b/tests/test-runner.c
index 1487dc4..8f08445 100644
--- a/tests/test-runner.c
+++ b/tests/test-runner.c
@@ -338,7 +338,8 @@ int main(int argc, char *argv[])
if (waitid(P_PID, pid, &info, WEXITED)) {
stderr_set_color(RED);
- fprintf(stderr, "waitid failed: %m\n");
+ fprintf(stderr, "waitid failed: %s\n",
+ strerror(errno));
stderr_reset_color();
abort();