projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1e1601
)
manager: properly read timerfd elapse counter
author
Lennart Poettering
<lennart@poettering.net>
Thu, 4 Feb 2010 23:40:39 +0000
(
00:40
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 4 Feb 2010 23:40:39 +0000
(
00:40
+0100)
manager.c
patch
|
blob
|
history
diff --git
a/manager.c
b/manager.c
index
57b64ad
..
7a31c0c
100644
(file)
--- a/
manager.c
+++ b/
manager.c
@@
-1212,7
+1212,7
@@
static int process_event(Manager *m, struct epoll_event *ev, bool *quit) {
ssize_t k;
/* Some timer event, to be dispatched to the units */
- if ((k = read(
ev->data.
fd, &v, sizeof(v))) != sizeof(v)) {
+ if ((k = read(
w->
fd, &v, sizeof(v))) != sizeof(v)) {
if (k < 0 && (errno == EINTR || errno == EAGAIN))
break;