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-zero-copy.c | |
parent | 2e75e2a8f56d0d5340dc9fb6fed1f6c4b37c495f (diff) |
busctl: introduce busctl "get-property" command for reading and dumping object properties
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-zero-copy.c')
-rw-r--r-- | src/libsystemd/sd-bus/test-bus-zero-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-zero-copy.c b/src/libsystemd/sd-bus/test-bus-zero-copy.c index e938a48b63..2cc671b16d 100644 --- a/src/libsystemd/sd-bus/test-bus-zero-copy.c +++ b/src/libsystemd/sd-bus/test-bus-zero-copy.c @@ -138,7 +138,7 @@ int main(int argc, char *argv[]) { r = bus_message_seal(m, 55, 99*USEC_PER_SEC); assert_se(r >= 0); - bus_message_dump(m, stdout, true); + bus_message_dump(m, stdout, BUS_MESSAGE_DUMP_WITH_HEADER); r = sd_bus_send(b, m, NULL); assert_se(r >= 0); @@ -148,7 +148,7 @@ int main(int argc, char *argv[]) { r = sd_bus_process(a, &m); assert_se(r > 0); - bus_message_dump(m, stdout, true); + bus_message_dump(m, stdout, BUS_MESSAGE_DUMP_WITH_HEADER); sd_bus_message_rewind(m, true); r = sd_bus_message_enter_container(m, 'r', "aysay"); |