diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-12-11 17:25:09 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-12-11 17:26:03 +0100 |
commit | d31f486b83484801b6a300a555a9b986a7a84e7b (patch) | |
tree | e51b60878ddd48f2b4808c45c0f50dd2afc47b8c /src/libsystemd/sd-bus/bus-message.c | |
parent | eccaf899331ecbe3807739b6356ebba3d71480c7 (diff) |
bus: sync with kdbus.git
Changes:
* bloom parameters are returned in an offset via HELLO
* FREE now takes items just like any other ioctl
Diffstat (limited to 'src/libsystemd/sd-bus/bus-message.c')
-rw-r--r-- | src/libsystemd/sd-bus/bus-message.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c index 3134029337..0f9334bb84 100644 --- a/src/libsystemd/sd-bus/bus-message.c +++ b/src/libsystemd/sd-bus/bus-message.c @@ -132,6 +132,7 @@ static void message_free(sd_bus_message *m) { if (m->release_kdbus) { struct kdbus_cmd_free cmd_free = { }; + cmd_free.size = sizeof(cmd_free); cmd_free.flags = 0; cmd_free.offset = (uint8_t *)m->kdbus - (uint8_t *)m->bus->kdbus_buffer; (void) ioctl(m->bus->input_fd, KDBUS_CMD_FREE, &cmd_free); |