From 45d296cb6dd4ac3ec47a685ca14013270eea0fea Mon Sep 17 00:00:00 2001 From: Sanket Agarwal Date: Sat, 13 Feb 2016 10:19:45 -0800 Subject: [PATCH] Remove %s from Log message. This crashes when A2DP SNK role is executed in print statement. Change-Id: Iceca09ecc5977a5379d7f98f265fc2d52332c6e4 --- btif/src/btif_rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btif/src/btif_rc.c b/btif/src/btif_rc.c index c05af9496..e03c00de8 100644 --- a/btif/src/btif_rc.c +++ b/btif/src/btif_rc.c @@ -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) { -- 2.11.0