summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-02-22 21:13:54 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-02-22 21:13:54 +0000
commita83064cf50b360efc354f85d02cde8fda20399d2 (patch)
treebeb9c3b87bad8d9e19296ef659430d446cae142b /input
parent45bbf75895cf2f6902089e00bf23d7d96326416e (diff)
Don't hide errors returned by hcid
Diffstat (limited to 'input')
-rw-r--r--input/device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/input/device.c b/input/device.c
index 5f805ca2..01b38b18 100644
--- a/input/device.c
+++ b/input/device.c
@@ -998,8 +998,8 @@ static void hid_record_reply(DBusPendingCall *call, void *data)
dbus_error_init(&derr);
if (dbus_set_error_from_message(&derr, reply)) {
+ err_generic(pr->conn, pr->msg, derr.name, derr.message);
error("%s: %s", derr.name, derr.message);
- err_not_supported(pr->conn, pr->msg);
dbus_error_free(&derr);
goto fail;
}
@@ -1061,8 +1061,8 @@ static void hid_handle_reply(DBusPendingCall *call, void *data)
dbus_error_init(&derr);
if (dbus_set_error_from_message(&derr, reply)) {
+ err_generic(pr->conn, pr->msg, derr.name, derr.message);
error("%s: %s", derr.name, derr.message);
- err_not_supported(pr->conn, pr->msg);
dbus_error_free(&derr);
goto fail;
}
@@ -1100,8 +1100,8 @@ static void pnp_record_reply(DBusPendingCall *call, void *data)
dbus_error_init(&derr);
if (dbus_set_error_from_message(&derr, reply)) {
+ err_generic(pr->conn, pr->msg, derr.name, derr.message);
error("%s: %s", derr.name, derr.message);
- err_not_supported(pr->conn, pr->msg);
dbus_error_free(&derr);
goto fail;
}
@@ -1143,8 +1143,8 @@ static void pnp_handle_reply(DBusPendingCall *call, void *data)
dbus_error_init(&derr);
if (dbus_set_error_from_message(&derr, reply)) {
+ err_generic(pr->conn, pr->msg, derr.name, derr.message);
error("%s: %s", derr.name, derr.message);
- err_not_supported(pr->conn, pr->msg);
dbus_error_free(&derr);
goto fail;
}