diff options
author | Daniel Mack <daniel@zonque.org> | 2015-02-24 12:10:13 +0100 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-02-24 12:10:13 +0100 |
commit | 6ad4a4fc43e12c8c36f85abbb36e8791ec507519 (patch) | |
tree | bbdb08f632fe9be15e7eae00af5c4f1e5f17ef85 /src/libsystemd/sd-bus/bus-control.c | |
parent | 8527b07be1c5211b50a1a6496585952857a25c73 (diff) |
sd-bus: sync kdbus.h
Follow two small changes in the kdbus API:
* Flags are now returned in cmd->return_flags by KDBUS_CMD_NAME_ACQUIRE
* struct kdbus_item_list has been dropped. The information stored in
this struct was redundant since awhile already, as all commands
report their returned slice size anyway.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-control.c')
-rw-r--r-- | src/libsystemd/sd-bus/bus-control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-control.c b/src/libsystemd/sd-bus/bus-control.c index 19aa4bd4f0..43c96726f8 100644 --- a/src/libsystemd/sd-bus/bus-control.c +++ b/src/libsystemd/sd-bus/bus-control.c @@ -76,7 +76,7 @@ static int bus_request_name_kernel(sd_bus *bus, const char *name, uint64_t flags if (r < 0) return -errno; - if (n->flags & KDBUS_NAME_IN_QUEUE) + if (n->return_flags & KDBUS_NAME_IN_QUEUE) return 0; return 1; |