[PATCH] input: add error message when auth fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 input/server.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/input/server.c b/input/server.c
index cea08d1..ed09a73 100644
--- a/input/server.c
+++ b/input/server.c
@@ -176,6 +176,8 @@ static void confirm_event_cb(GIOChannel *chan, gpointer user_data)
 	if (ret == 0)
 		return;
 
+	error("Authorization failed(%d): %s", -ret, strerror(-ret));
+
 	g_io_channel_unref(server->confirm);
 	server->confirm = NULL;
 
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux