summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-control.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-09-23 16:13:54 +0200
committerDaniel Mack <daniel@zonque.org>2014-09-23 16:16:04 +0200
commit619d7a039f9f64ffa593634c2715838ffbc17be4 (patch)
treeb82314961e5c75ce56a05a7b61e8d5a52fe90ae4 /src/libsystemd/sd-bus/bus-control.c
parente78af5ffe53a0d24854d721d1166a60f8ed0dfb6 (diff)
sd-bus: sync kdbus.h (API break)
Just a rename of two struct members to make the header file c++ compatible.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-control.c')
-rw-r--r--src/libsystemd/sd-bus/bus-control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/bus-control.c b/src/libsystemd/sd-bus/bus-control.c
index 50b662f85d..b22f4c4ff6 100644
--- a/src/libsystemd/sd-bus/bus-control.c
+++ b/src/libsystemd/sd-bus/bus-control.c
@@ -851,8 +851,8 @@ static int add_name_change_match(sd_bus *bus,
offsetof(struct kdbus_notify_name_change, name) +
l;
- item->name_change.old.id = old_owner_id;
- item->name_change.new.id = new_owner_id;
+ item->name_change.old_id.id = old_owner_id;
+ item->name_change.new_id.id = new_owner_id;
if (name)
memcpy(item->name_change.name, name, l);