From 8a3f7786584513e32c5dc3921fe5b89b0b5add17 Mon Sep 17 00:00:00 2001 From: Chan-yeol Park Date: Mon, 16 Apr 2012 20:56:34 +0900 Subject: [PATCH] audio: Add missing debug message in authorization --- audio/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/manager.c b/audio/manager.c index aa2547c62..20453e654 100644 --- a/audio/manager.c +++ b/audio/manager.c @@ -604,7 +604,7 @@ static void hf_io_cb(GIOChannel *chan, gpointer data) perr = audio_device_request_authorization(device, server_uuid, gateway_auth_cb, device); if (perr < 0) { - DBG("Authorization denied!"); + DBG("Authorization denied: %s", strerror(-perr)); gateway_set_state(device, GATEWAY_STATE_DISCONNECTED); } -- 2.47.3