summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/test-bus-creds.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-19 23:59:26 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-20 00:01:05 +0100
commitd0b2babf5264429e6ac0870b2c7cb13eacba2b86 (patch)
treee386f118e90ee51947db1ae6d2042b14f800502c /src/libsystemd/sd-bus/test-bus-creds.c
parent0171da06ef8bb19c175c5aa8aff8cf95f3de7dc1 (diff)
downloadsystemd-d0b2babf5264429e6ac0870b2c7cb13eacba2b86.tar.gz
busctl: improve output of service creds
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-creds.c')
-rw-r--r--src/libsystemd/sd-bus/test-bus-creds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-creds.c b/src/libsystemd/sd-bus/test-bus-creds.c
index c4894e8696..ff2602ba34 100644
--- a/src/libsystemd/sd-bus/test-bus-creds.c
+++ b/src/libsystemd/sd-bus/test-bus-creds.c
@@ -31,7 +31,7 @@ int main(int argc, char *argv[]) {
r = sd_bus_creds_new_from_pid(&creds, 0, _SD_BUS_CREDS_ALL);
assert_se(r >= 0);
- bus_creds_dump(creds, NULL);
+ bus_creds_dump(creds, NULL, true);
creds = sd_bus_creds_unref(creds);
@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) {
if (r != -EACCES) {
assert_se(r >= 0);
putchar('\n');
- bus_creds_dump(creds, NULL);
+ bus_creds_dump(creds, NULL, true);
}
return 0;