chiark / gitweb /
bus: move ssh support into public API of libsystem-bus
[elogind.git] / src / initctl / initctl.c
index 3c5986171fe054bba27f57bb41efb4346a9e2ce8..0000d6ccd4fd5039d94dc76ab9025ac7922134a6 100644 (file)
@@ -329,7 +329,7 @@ static int server_init(Server *s, unsigned n_sockets) {
                 s->n_fifos ++;
         }
 
-        r = bus_connect_system(&s->bus);
+        r = bus_open_system_systemd(&s->bus);
         if (r < 0) {
                 log_error("Failed to get D-Bus connection: %s", strerror(-r));
                 r = -EIO;