OSDN Git Service

AVCTP: Remove hand-written function name from log
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 4 Oct 2012 05:14:33 +0000 (02:14 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 4 Oct 2012 08:23:52 +0000 (11:23 +0300)
Besides being hand-written, it was wrong which leads to confusion with
the AVDTP.

audio/avctp.c

index b7b3083..53c28ec 100644 (file)
@@ -392,7 +392,7 @@ static void avctp_set_state(struct avctp *session, avctp_state_t new_state)
 
        dev = manager_get_device(&session->server->src, &session->dst, FALSE);
        if (dev == NULL) {
-               error("avdtp_set_state(): no matching audio device");
+               error("%s(): No matching audio device", __func__);
                return;
        }