chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core/busname: add lookup string for BUSNAME_FAILURE_SERVICE_FAILED_PERMANENT
[elogind.git]
/
src
/
core
/
path.c
diff --git
a/src/core/path.c
b/src/core/path.c
index fc7069e6c7a9cc2a7090816f712cf693a04e1fd2..1d6c6cc6cb6217a4ae6feda0dcc056f74a37f582 100644
(file)
--- a/
src/core/path.c
+++ b/
src/core/path.c
@@
-71,7
+71,7
@@
int path_spec_watch(PathSpec *s, sd_event_io_handler_t handler) {
goto fail;
}
goto fail;
}
- r = sd_event_add_io(s->unit->manager->event,
s->inotify_fd, EPOLLIN, handler, s, &s->event_source
);
+ r = sd_event_add_io(s->unit->manager->event,
&s->event_source, s->inotify_fd, EPOLLIN, handler, s
);
if (r < 0)
goto fail;
if (r < 0)
goto fail;