X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flocale%2Flocaled.c;h=32d52a90a20a0addba53a87afcd0a5f90c446356;hb=afc6adb5ec7e73bc13156c43f52fb015cd80cc68;hp=7e03d82575ab0f9cd823b6644c8f4e86e4ece153;hpb=d5e4ec5b1ee1e3f04a2cb0871490490eb47ef34a;p=elogind.git diff --git a/src/locale/localed.c b/src/locale/localed.c index 7e03d8257..32d52a90a 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;