summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-control.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-12-04 19:06:52 +0100
committerKay Sievers <kay@vrfy.org>2013-12-04 19:07:10 +0100
commitf7d8595113c0e2ffe84c760a325dd9c988161d8d (patch)
treebb35bc67e6ca35ed4d35cca905c76a4db837263b /src/libsystemd-bus/bus-control.c
parentf20c84c15f3fea2f6767cdd7dd50d5273773b044 (diff)
libsystemd-bus: catch up with latest kdbus changes
Diffstat (limited to 'src/libsystemd-bus/bus-control.c')
-rw-r--r--src/libsystemd-bus/bus-control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-control.c b/src/libsystemd-bus/bus-control.c
index ff6a5a6cb6..b1172899d0 100644
--- a/src/libsystemd-bus/bus-control.c
+++ b/src/libsystemd-bus/bus-control.c
@@ -363,6 +363,7 @@ static int bus_get_owner_kdbus(
cmd = alloca0(size);
strcpy(cmd->name, name);
}
+ cmd->flags = KDBUS_ATTACH_NAMES;
cmd->size = size;
r = ioctl(bus->input_fd, KDBUS_CMD_CONN_INFO, cmd);