summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-message.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-12-11 17:25:09 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-12-11 17:26:03 +0100
commitd31f486b83484801b6a300a555a9b986a7a84e7b (patch)
treee51b60878ddd48f2b4808c45c0f50dd2afc47b8c /src/libsystemd/sd-bus/bus-message.c
parenteccaf899331ecbe3807739b6356ebba3d71480c7 (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.c1
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);