diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-14 17:20:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-14 17:52:40 +0100 |
commit | d55192add75584f55932ad463ee6b4cc30370c63 (patch) | |
tree | b805144843430569dcc118ba1e5071a19bc1b60b /src/libsystemd/sd-bus/test-bus-kernel.c | |
parent | mount-setup: remove mount_setup_late() (diff) | |
download | systemd-d55192add75584f55932ad463ee6b4cc30370c63.tar.xz systemd-d55192add75584f55932ad463ee6b4cc30370c63.zip |
busctl: introduce busctl "get-property" command for reading and dumping object properties
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-kernel.c')
-rw-r--r-- | src/libsystemd/sd-bus/test-bus-kernel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-kernel.c b/src/libsystemd/sd-bus/test-bus-kernel.c index b138d390d9..9cc0f01c5b 100644 --- a/src/libsystemd/sd-bus/test-bus-kernel.c +++ b/src/libsystemd/sd-bus/test-bus-kernel.c @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) { assert_se(r > 0); assert_se(m); - bus_message_dump(m, stdout, true); + bus_message_dump(m, stdout, BUS_MESSAGE_DUMP_WITH_HEADER); assert_se(sd_bus_message_rewind(m, true) >= 0); r = sd_bus_message_read(m, "s", &the_string); @@ -154,7 +154,7 @@ int main(int argc, char *argv[]) { assert_se(r > 0); assert_se(m); - bus_message_dump(m, stdout, true); + bus_message_dump(m, stdout, BUS_MESSAGE_DUMP_WITH_HEADER); assert_se(sd_bus_message_rewind(m, true) >= 0); if (sd_bus_message_is_method_call(m, "an.inter.face", "AMethod")) { |