summaryrefslogtreecommitdiff
path: root/lib/igt_aux.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_aux.c')
-rw-r--r--lib/igt_aux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index 45da07b7..91f3c4eb 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -403,6 +403,7 @@ hang_detector_process(pid_t pid, dev_t rdev)
static void sig_abort(int sig)
{
+ errno = 0; /* inside a signal, last errno reporting is confusing */
igt_assert(!"GPU hung");
}