summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machined.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machined.c b/src/machine/machined.c
index d6dd984e76..ee6a6d6aeb 100644
--- a/src/machine/machined.c
+++ b/src/machine/machined.c
@@ -53,7 +53,7 @@ Manager *manager_new(void) {
return NULL;
}
- r = sd_event_new(&m->event);
+ r = sd_event_default(&m->event);
if (r < 0) {
manager_free(m);
return NULL;