chiark / gitweb /
bus: move ssh support into public API of libsystem-bus
[elogind.git] / src / cgroups-agent / cgroups-agent.c
index 256de1f506c814f6354b03e9bcfe602ff76c4648..d8ae55a3130e044d9d6bdb33c301b089e068fe20 100644 (file)
@@ -44,7 +44,7 @@ int main(int argc, char *argv[]) {
          * this to avoid an activation loop when we start dbus when we
          * are called when the dbus service is shut down. */
 
-        r = bus_connect_system(&bus);
+        r = bus_open_system_systemd(&bus);
         if (r < 0) {
                 log_warning("Failed to get D-Bus connection: %s", strerror(-r));
                 return EXIT_FAILURE;