summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-05-09 15:28:08 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-05-09 15:28:08 +0000
commitea478e3120a4a2d777c5b828e96fde0e44fc897a (patch)
tree1593528096686f224d1745211000af97148cf2a8 /input/device.c
parent98d1e9d7b34c631ded87ae360a3b122b7171079d (diff)
Fix device registration
Diffstat (limited to 'input/device.c')
-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;
}