From ea478e3120a4a2d777c5b828e96fde0e44fc897a Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 9 May 2007 15:28:08 +0000 Subject: Fix device registration --- input/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit