chiark / gitweb /
bus: move ssh support into public API of libsystem-bus
[elogind.git] / src / fsck / fsck.c
index 5c21c7e41f26c2dbf5f8e1afc002caa01dd31b38..3164d6899c6c6e84888160318206828522c55b31 100644 (file)
@@ -50,7 +50,7 @@ static void start_target(const char *target) {
 
         assert(target);
 
-        r = bus_connect_system(&bus);
+        r = bus_open_system_systemd(&bus);
         if (r < 0) {
                 log_error("Failed to get D-Bus connection: %s", strerror(-r));
                 return;