[systemd-commits] src/bus-driverd
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Dec 18 10:33:09 PST 2013
src/bus-driverd/bus-driverd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3e8a51eae6815eb9f54a6b672ba5e1a17d0bffe9
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Wed Dec 18 13:32:13 2013 +0100
bus-driverd: fix flags translation in driver_request_name
Flags for a name entry (KDBUS_NAME_*) should be set for
cmd_name->flags (not conn_flags)
diff --git a/src/bus-driverd/bus-driverd.c b/src/bus-driverd/bus-driverd.c
index b11eb55..f28dc57 100644
--- a/src/bus-driverd/bus-driverd.c
+++ b/src/bus-driverd/bus-driverd.c
@@ -303,7 +303,7 @@ static int driver_request_name(sd_bus *bus, sd_bus_message *m, void *userdata, s
n = alloca0(size);
n->size = size;
memcpy(n->name, name, l+1);
- kdbus_translate_request_name_flags(flags, (uint64_t *) &n->conn_flags);
+ kdbus_translate_request_name_flags(flags, (uint64_t *) &n->flags);
/* This function is open-coded because we request the name 'on behalf'
* of the requesting connection */
More information about the systemd-commits
mailing list