diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-29 22:02:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-29 22:03:55 +0100 |
commit | 51502af33df91237196772ac06fd50190e36e198 (patch) | |
tree | 27a2aa89191df33239cb9c16a5ecfd390df9e69e | |
parent | bus: add the ability for backends to queue to input messages at the same time (diff) | |
download | systemd-51502af33df91237196772ac06fd50190e36e198.tar.xz systemd-51502af33df91237196772ac06fd50190e36e198.zip |
bus: fix callback index when dispatching kernel messages
Diffstat (limited to '')
-rw-r--r-- | src/libsystemd-bus/bus-kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c index 54e85c9443..796426b561 100644 --- a/src/libsystemd-bus/bus-kernel.c +++ b/src/libsystemd-bus/bus-kernel.c @@ -561,7 +561,7 @@ static int bus_kernel_translate_message(sd_bus *bus, struct kdbus_msg *k) { return 0; } - return translate[found->type](bus, k, d); + return translate[found->type - _KDBUS_ITEM_KERNEL_BASE](bus, k, found); } int kdbus_translate_attach_flags(uint64_t mask, uint64_t *kdbus_mask) { |