From b2086f601b313939db160aa028e66649ba81bd01 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Wed, 4 Feb 2015 16:21:27 +0100 Subject: bus: sync with kdbus (ABI break) --- src/core/bus-endpoint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') 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); -- cgit v1.2.3-54-g00ecf