summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-kernel.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-12-25 05:02:58 +0100
committerKay Sievers <kay@vrfy.org>2013-12-25 05:22:37 +0100
commit28f45c1c2ef7df305edbf1dba87fb8482d30b1a8 (patch)
treea414c96a001d20d6d5185705d5652fd4a3529a0c /src/libsystemd-bus/bus-kernel.c
parent2e3db52da98716e6ec204aee74290b6303d47280 (diff)
bus: set cookie_reply and update kdbus.h
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.c')
-rw-r--r--src/libsystemd-bus/bus-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c
index 8a5b210fe4..c15218fe98 100644
--- a/src/libsystemd-bus/bus-kernel.c
+++ b/src/libsystemd-bus/bus-kernel.c
@@ -257,7 +257,7 @@ static int bus_message_setup_kmsg(sd_bus *b, sd_bus_message *m) {
m->destination ? unique : KDBUS_DST_ID_BROADCAST;
m->kdbus->payload_type = KDBUS_PAYLOAD_DBUS;
m->kdbus->cookie = m->header->serial;
-
+ m->kdbus->cookie_reply = m->reply_serial;
m->kdbus->timeout_ns = m->timeout * NSEC_PER_USEC;
d = m->kdbus->items;