chiark / gitweb /
bus: fix kdbus ioctl invocation
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Apr 2013 22:43:42 +0000 (00:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Apr 2013 22:43:42 +0000 (00:43 +0200)
src/libsystemd-bus/bus-kernel.c

index b53c5ed..e5e3536 100644 (file)
@@ -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;