diff options
Diffstat (limited to 'src/core/path.c')
-rw-r--r-- | src/core/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/path.c b/src/core/path.c index fc7069e6c7..1d6c6cc6cb 100644 --- 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; } - 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; |