chiark / gitweb /
machinectl: fix success check when getting pty from within container
[elogind.git] / src / timedate / timedated.c
index 8ac933c5eed5732411c1c9f99436efe50bc9a66e..d85ce57394468347028cdadcca9b5577246a29e7 100644 (file)
@@ -857,7 +857,7 @@ int main(int argc, char *argv[]) {
                 goto finish;
         }
 
-        r = bus_event_loop_with_idle(event, bus, "org.freedesktop.timedate1", DEFAULT_EXIT_USEC);
+        r = bus_event_loop_with_idle(event, bus, "org.freedesktop.timedate1", DEFAULT_EXIT_USEC, NULL, NULL);
         if (r < 0) {
                 log_error("Failed to run event loop: %s", strerror(-r));
                 goto finish;