summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Skalski <l.skalski@partner.samsung.com>2013-12-18 13:32:13 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-18 19:32:58 +0100
commit3e8a51eae6815eb9f54a6b672ba5e1a17d0bffe9 (patch)
treede13e9a4bb685625e0188d6c65a81723cda5f5af
parent8674debc67cdad04d930d931405a360f15e5cb28 (diff)
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)
-rw-r--r--src/bus-driverd/bus-driverd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bus-driverd/bus-driverd.c b/src/bus-driverd/bus-driverd.c
index b11eb5588f..f28dc5738e 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 */