chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
monitor udev for device changes
[elogind.git]
/
unit.c
diff --git
a/unit.c
b/unit.c
index 624ea0cb5405c3fe4bc6c5ae67dd6dea13583f95..bd4272f6ddc92de9f95786832350e4b08f1692fd 100644
(file)
--- 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 =
E
POLLIN;
if (epoll_ctl(u->meta.manager->epoll_fd, EPOLL_CTL_ADD, fd, &ev) < 0)
goto fail;