OSDN Git Service

audio: Add missing debug message in authorization
authorChan-yeol Park <chanyeol.park@samsung.com>
Mon, 16 Apr 2012 11:56:34 +0000 (20:56 +0900)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Apr 2012 19:54:27 +0000 (22:54 +0300)
audio/manager.c

index aa2547c..20453e6 100644 (file)
@@ -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);
        }