diff options
Diffstat (limited to 'src/timedate')
-rw-r--r-- | src/timedate/timedated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c index 163b2761ac..8fb7f6e806 100644 --- a/src/timedate/timedated.c +++ b/src/timedate/timedated.c @@ -854,7 +854,7 @@ int main(int argc, char *argv[]) { goto finish; } - r = sd_event_new(&event); + r = sd_event_default(&event); if (r < 0) { log_error("Failed to allocate event loop: %s", strerror(-r)); goto finish; |