aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-12 11:24:08 +0200
committerMattias Andrée <maandree@kth.se>2016-07-12 11:24:08 +0200
commit8f96d8b7ffff9ea95c356b5a5d0e3d3501809664 (patch)
treeb6754871d6e2fa5524f042af5235d810469108ce
parentFix probable buf (diff)
downloadmds-8f96d8b7ffff9ea95c356b5a5d0e3d3501809664.tar.gz
mds-8f96d8b7ffff9ea95c356b5a5d0e3d3501809664.tar.bz2
mds-8f96d8b7ffff9ea95c356b5a5d0e3d3501809664.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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;