OSDN Git Service

Remove %s from Log message.
authorSanket Agarwal <sanketa@google.com>
Sat, 13 Feb 2016 18:19:45 +0000 (10:19 -0800)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 30 Mar 2016 18:43:44 +0000 (18:43 +0000)
This crashes when A2DP SNK role is executed in print statement.

Change-Id: Iceca09ecc5977a5379d7f98f265fc2d52332c6e4

btif/src/btif_rc.c

index c05af94..e03c00d 100644 (file)
@@ -1031,7 +1031,7 @@ void btif_rc_handler(tBTA_AV_EVT event, tBTA_AV *p_data)
 #if (AVRC_CTLR_INCLUDED == TRUE)
         case BTA_AV_REMOTE_RSP_EVT:
         {
-            BTIF_TRACE_DEBUG("%s %s RSP: rc_id:0x%x key_state:%d",
+            BTIF_TRACE_DEBUG("%s RSP: rc_id:0x%x key_state:%d",
                              __FUNCTION__, p_data->remote_rsp.rc_id, p_data->remote_rsp.key_state);
             if (p_data->remote_rsp.rc_id == AVRC_ID_VENDOR)
             {