Migrated analyze-security to use new API bus_call_method instead of sd_bus_call_method.
#include "analyze-security.h"
#include "analyze-verify.h"
#include "bus-error.h"
+#include "bus-locator.h"
#include "bus-map-properties.h"
#include "bus-unit-util.h"
#include "bus-util.h"
_cleanup_strv_free_ char **list = NULL;
size_t n = 0;
- r = sd_bus_call_method(
+ r = bus_call_method(
bus,
- "org.freedesktop.systemd1",
- "/org/freedesktop/systemd1",
- "org.freedesktop.systemd1.Manager",
+ bus_systemd_mgr,
"ListUnits",
&error,
&reply,