summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-dump.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-04 16:13:49 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-04 16:13:49 +0100
commit455971c1493fc6dc3125d235cf4ea6102cac626d (patch)
tree4fe3367db4487eebbbffb2516d757fdddf07efba /src/libsystemd/sd-bus/bus-dump.c
parent635f9f0d95d1cc460f2c59a8fe26ecc358420544 (diff)
downloadsystemd-455971c1493fc6dc3125d235cf4ea6102cac626d.tar.gz
sd-bus: rename "connection name" to "description" for the sd-bus API too
kdbus recently renamed this concept, and so should we in what we expose in userspace.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-dump.c')
-rw-r--r--src/libsystemd/sd-bus/bus-dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd/sd-bus/bus-dump.c b/src/libsystemd/sd-bus/bus-dump.c
index b536641eb9..b13bc4b119 100644
--- a/src/libsystemd/sd-bus/bus-dump.c
+++ b/src/libsystemd/sd-bus/bus-dump.c
@@ -348,10 +348,10 @@ int bus_creds_dump(sd_bus_creds *c, FILE *f) {
if (c->mask & SD_BUS_CREDS_SELINUX_CONTEXT)
fprintf(f, " Label=%s", c->label);
- if (c->mask & SD_BUS_CREDS_CONNECTION_NAME)
- fprintf(f, " ConnectionName=%s", c->conn_name);
+ if (c->mask & SD_BUS_CREDS_DESCRIPTION)
+ fprintf(f, " Description=%s", c->description);
- if (c->mask & (SD_BUS_CREDS_SELINUX_CONTEXT|SD_BUS_CREDS_CONNECTION_NAME))
+ if (c->mask & (SD_BUS_CREDS_SELINUX_CONTEXT|SD_BUS_CREDS_DESCRIPTION))
fputs("\n", f);
if (sd_bus_creds_get_cmdline(c, &cmdline) >= 0) {