From 4b7138ae3aea4c0c65ded319d8d7bb4f1eae6fdc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 25 Jul 2018 10:19:12 +0000 Subject: Bugfix: don't allow EINTR in the main loop --- src/mdevd/mdevd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mdevd/mdevd.c b/src/mdevd/mdevd.c index 68d68d4..3784f9a 100644 --- a/src/mdevd/mdevd.c +++ b/src/mdevd/mdevd.c @@ -1085,7 +1085,7 @@ int main (int argc, char const *const *argv) while (pid || cont == 2) { - if (iopause(x, 1 + (!pid && cont == 2), 0, 0) < 0) strerr_diefu1sys(111, "iopause") ; + if (iopause_stamp(x, 1 + (!pid && cont == 2), 0, 0) < 0) strerr_diefu1sys(111, "iopause") ; if (x[0].revents & IOPAUSE_READ) handle_signals() ; if (!pid && cont == 2 && x[1].revents & IOPAUSE_READ) -- cgit v1.3.1