From c9cc90f6b7dccee565612325030cd04a9626b87b Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Sat, 29 Jul 2023 01:21:00 +0900 Subject: [PATCH] tests: (test_mkfds) use err() when a system call fails Signed-off-by: Masatake YAMATO --- tests/helpers/test_mkfds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/test_mkfds.c b/tests/helpers/test_mkfds.c index 8118b0f900..ccb2a0158a 100644 --- a/tests/helpers/test_mkfds.c +++ b/tests/helpers/test_mkfds.c @@ -3750,7 +3750,7 @@ static void wait_event(bool monitor_stdin) if (pselect(n, &readfds, NULL, NULL, NULL, &sigset) < 0 && errno != EINTR) - errx(EXIT_FAILURE, "failed in pselect"); + err(EXIT_FAILURE, "failed in pselect"); } int main(int argc, char **argv) -- 2.47.2