chiark / gitweb /
bus: rename sd_bus_send_with_reply_and_block() to sd_bus_call()
[elogind.git] / src / machine / machined-dbus.c
index d60be0d3ba02db8b88755b047f7fb47ec9211c51..2b25f075253fa0d9801f7599380e603707f65c2c 100644 (file)
@@ -37,6 +37,7 @@
 #include "unit-name.h"
 #include "bus-util.h"
 #include "time-util.h"
+#include "cgroup-util.h"
 #include "machined.h"
 
 static bool valid_machine_name(const char *p) {
@@ -528,7 +529,7 @@ int manager_start_scope(
         if (r < 0)
                 return r;
 
-        r = sd_bus_send_with_reply_and_block(manager->bus, m, 0, error, &reply);
+        r = sd_bus_call(manager->bus, m, 0, error, &reply);
         if (r < 0)
                 return r;