summaryrefslogtreecommitdiff
path: root/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-29 06:45:59 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-29 06:45:59 +0100
commitf94ea366d38fed424200b748cb042ca44f8c8d50 (patch)
tree6fdd0032d6a667c967e6c82530e5dd83bdd2e18d /unit.c
parentef734fd6c2ec4e5602bbfe2a0d26dcf39c14d2bf (diff)
monitor udev for device changes
Diffstat (limited to 'unit.c')
-rw-r--r--unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit.c b/unit.c
index 624ea0cb54..bd4272f6dd 100644
--- a/unit.c
+++ b/unit.c
@@ -764,7 +764,7 @@ int unit_watch_timer(Unit *u, usec_t delay, Watch *w) {
zero(ev);
ev.data.ptr = w;
- ev.events = POLLIN;
+ ev.events = EPOLLIN;
if (epoll_ctl(u->meta.manager->epoll_fd, EPOLL_CTL_ADD, fd, &ev) < 0)
goto fail;