summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/input/device.c b/input/device.c
index 8f459c1d..984c35bd 100644
--- a/input/device.c
+++ b/input/device.c
@@ -795,6 +795,12 @@ static DBusMessage *device_connect(DBusConnection *conn,
return NULL;
}
+static DBusMessage *create_errno_message(DBusMessage *msg, int err)
+{
+ return g_dbus_create_error(msg, ERROR_INTERFACE ".Failed",
+ strerror(err));
+}
+
static DBusMessage *device_disconnect(DBusConnection *conn,
DBusMessage *msg, void *data)
{