summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-control.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-12-03 01:56:13 +0100
committerDaniel Mack <zonque@gmail.com>2013-12-03 01:56:20 +0100
commit144e9e5890c2475145eba08f4400869ebdc892cd (patch)
tree556d5a98a2b148e7f6074a5aeb63fadc1f29582b /src/libsystemd-bus/bus-control.c
parentdca409bf96497343f7036f76d7034bc7669c7fec (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-control.c b/src/libsystemd-bus/bus-control.c
index 6f0bf06a5f..aaddb7d374 100644
--- a/src/libsystemd-bus/bus-control.c
+++ b/src/libsystemd-bus/bus-control.c
@@ -182,7 +182,7 @@ _public_ int sd_bus_list_names(sd_bus *bus, char ***l) {
if (!cmd)
return -ENOMEM;
- cmd->flags = KDBUS_NAME_LIST_UNIQUE_NAMES;
+ cmd->flags = KDBUS_NAME_LIST_UNIQUE | KDBUS_NAME_LIST_NAMES;
r = ioctl(sd_bus_get_fd(bus), KDBUS_CMD_NAME_LIST, cmd);
if (r < 0)