chiark / gitweb /
bus-driverd: fix flags translation in driver_request_name
[elogind.git] / src / bus-driverd / bus-driverd.c
index b11eb5588f9ec9725f9ba3302e4eadc668a2b51f..f28dc5738e62dc38ed515e049a25f05b1530bb6e 100644 (file)
@@ -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 */