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 1a8e0eee..0f06d095 100644
--- a/input/device.c
+++ b/input/device.c
@@ -912,7 +912,7 @@ static int register_path(DBusConnection *conn, const char *path, struct device *
{
if (g_dbus_register_interface(conn, path, INPUT_DEVICE_INTERFACE,
device_methods, device_signals, NULL,
- NULL, device_unregister) == FALSE) {
+ idev, device_unregister) == FALSE) {
error("Failed to register %s interface to %s",
INPUT_DEVICE_INTERFACE, path);
return -1;