summaryrefslogtreecommitdiffstats
path: root/src/core/bus-endpoint.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-02-04 16:21:27 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2015-02-05 16:52:42 +0100
commitb2086f601b313939db160aa028e66649ba81bd01 (patch)
treeabe651754fd54848fafae97e63856cd05eb829c3 /src/core/bus-endpoint.c
parentnetworkd: exit on idle (diff)
downloadsystemd-b2086f601b313939db160aa028e66649ba81bd01.tar.xz
systemd-b2086f601b313939db160aa028e66649ba81bd01.zip
bus: sync with kdbus (ABI break)
Diffstat (limited to 'src/core/bus-endpoint.c')
-rw-r--r--src/core/bus-endpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/bus-endpoint.c b/src/core/bus-endpoint.c
index 27dd192a2f..0c4b3e7c8b 100644
--- a/src/core/bus-endpoint.c
+++ b/src/core/bus-endpoint.c
@@ -26,14 +26,14 @@
int bus_kernel_set_endpoint_policy(int fd, uid_t uid, BusEndpoint *ep) {
- struct kdbus_cmd_update *update;
+ struct kdbus_cmd *update;
struct kdbus_item *n;
BusEndpointPolicy *po;
Iterator i;
size_t size;
int r;
- size = ALIGN8(offsetof(struct kdbus_cmd_update, items));
+ size = ALIGN8(offsetof(struct kdbus_cmd, items));
HASHMAP_FOREACH(po, ep->policy_hash, i) {
size += ALIGN8(offsetof(struct kdbus_item, str) + strlen(po->name) + 1);