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

bus: fix kdbus ioctl invocation

parent c320885c
...@@ -378,7 +378,7 @@ int bus_kernel_create(const char *name, char **s) { ...@@ -378,7 +378,7 @@ int bus_kernel_create(const char *name, char **s) {
if (!p) if (!p)
return -ENOMEM; return -ENOMEM;
if (ioctl(fd, KDBUS_CMD_BUS_MAKE, &fname) < 0) { if (ioctl(fd, KDBUS_CMD_BUS_MAKE, fname) < 0) {
close_nointr_nofail(fd); close_nointr_nofail(fd);
free(p); free(p);
return -errno; return -errno;
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