diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-02-04 16:21:27 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-02-05 16:52:42 +0100 |
commit | b2086f601b313939db160aa028e66649ba81bd01 (patch) | |
tree | abe651754fd54848fafae97e63856cd05eb829c3 /src/core/bus-endpoint.c | |
parent | a97dcc12e486ecff531809802930a26c4da827f2 (diff) |
bus: sync with kdbus (ABI break)
Diffstat (limited to 'src/core/bus-endpoint.c')
-rw-r--r-- | src/core/bus-endpoint.c | 4 |
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); |