chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: sync with kdbus (ABI break)
[elogind.git]
/
src
/
core
/
bus-endpoint.c
diff --git
a/src/core/bus-endpoint.c
b/src/core/bus-endpoint.c
index 27dd192a2fad6cd3830583702dbf48bd05ce0b8a..0c4b3e7c8b6464870725e3f41b0c71e6d8c5f930 100644
(file)
--- 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) {
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;
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);
HASHMAP_FOREACH(po, ep->policy_hash, i) {
size += ALIGN8(offsetof(struct kdbus_item, str) + strlen(po->name) + 1);