mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 23:21:08 +03:00
bus: fix kdbus ioctl invocation
This commit is contained in:
parent
c320885c9f
commit
b4da268999
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user