X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmachine%2Fmachinectl.c;h=aa2b0986eda0a1f98b9b0833410507019f5c7afb;hb=27e72d6b22890ba4a8cbc05c49667cd1cccf1461;hp=c48abcd0bb7aa51f41ffe5c57d1dec6b1021910b;hpb=34a6778fb9d1065f3fbb8e2243b9f0f25d1d18f1;p=elogind.git
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index c48abcd0b..aa2b0986e 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -19,13 +19,13 @@
along with systemd; If not, see .
***/
+#include
#include
#include
#include
#include
#include
#include
-#include
#include
#include "sd-bus.h"
@@ -284,7 +284,7 @@ static int show_properties(sd_bus *bus, const char *path, bool *new_line) {
*new_line = true;
- r = bus_print_all_properties(bus, path, arg_property, arg_all);
+ r = bus_print_all_properties(bus, "org.freedesktop.machine1", path, arg_property, arg_all);
if (r < 0)
log_error("Could not get properties: %s", strerror(-r));