summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 7e03d82575..32d52a90a2 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -1115,7 +1115,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;