diff options
Diffstat (limited to 'svcscan.c')
| -rw-r--r-- | svcscan.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -445,9 +445,11 @@ main(int argc, char **argv) } for (;;) { - if ((e = kevent(kq, NULL, 0, revt, 6, NULL)) == -1) { + e = kevent(kq, NULL, 0, revt, 6, NULL); + if (e == -1) { if (errno != EINTR) perror("kevent()"); + continue; } else if (e > 0) { for (i = 0; i < e; i++) { if (revt[i].filter == EVFILT_VNODE && revt[i].ident == dir_fd) { |
