summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--input/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/device.c b/input/device.c
index 4a76b786..7067133e 100644
--- a/input/device.c
+++ b/input/device.c
@@ -957,7 +957,7 @@ static int register_path(DBusConnection *conn, const char *path, struct device *
DBusMessage *msg;
if (!dbus_connection_create_object_path(conn, path,
- NULL, device_unregister)) {
+ idev, device_unregister)) {
error("Input device path registration failed");
return -EINVAL;
}