summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-07-25 10:19:12 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-07-25 10:19:12 +0000
commit4b7138ae3aea4c0c65ded319d8d7bb4f1eae6fdc (patch)
tree6ee14a4938f8737a290e94f3f94ec00b91087955 /src
parentf7d9145ebb7ecca3cdd9b71c388755b07712a9fe (diff)
downloadmdevd-4b7138ae3aea4c0c65ded319d8d7bb4f1eae6fdc.tar.xz
Bugfix: don't allow EINTR in the main loop
Diffstat (limited to 'src')
-rw-r--r--src/mdevd/mdevd.c2
1 files changed, 1 insertions, 1 deletions
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)