summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-12 00:43:42 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-12 00:43:42 +0200
commitb4da2689995b72fa32c3ba6555c6c3a3f6dce5e2 (patch)
tree61baffd42820afed21d87467c5cafefed6746999
parentc320885c9f16f622a9b48f529386482c76daa86c (diff)
bus: fix kdbus ioctl invocation
-rw-r--r--src/libsystemd-bus/bus-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c
index b53c5eddcb..e5e3536ad0 100644
--- a/src/libsystemd-bus/bus-kernel.c
+++ b/src/libsystemd-bus/bus-kernel.c
@@ -378,7 +378,7 @@ int bus_kernel_create(const char *name, char **s) {
if (!p)
return -ENOMEM;
- if (ioctl(fd, KDBUS_CMD_BUS_MAKE, &fname) < 0) {
+ if (ioctl(fd, KDBUS_CMD_BUS_MAKE, fname) < 0) {
close_nointr_nofail(fd);
free(p);
return -errno;