Commit de297575 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

bus: fill in unique name when using kdbus

parent dd418b9a
......@@ -156,6 +156,9 @@ int bus_kernel_take_fd(sd_bus *b) {
if (r < 0)
return -errno;
if (asprintf(&b->unique_name, ":1.%llu", (unsigned long long) < 0)
return -ENOMEM;
b->is_kernel = true;
r = bus_start_running(b);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment