aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mds-libinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-libinput.c b/src/mds-libinput.c
index 40a94a9..09cf26a 100644
--- a/src/mds-libinput.c
+++ b/src/mds-libinput.c
@@ -490,7 +490,7 @@ void* event_loop(void* data)
}
FD_SET(event_fd, &event_fd_set);
- if (select(event_fd + 1, &event_fd_set, &event_fd_set, &event_fd_set, NULL) < 0)
+ if (select(event_fd + 1, &event_fd_set, NULL, NULL, NULL) < 0)
{
fail_if (errno != EINTR);
continue;