Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eff8f328 authored by wangfei's avatar wangfei
Browse files

Fix print format issue in bta_av_co.cc



Fix a print format issue in APPL_TRACE_ERROR log.
Without the missed __func__, then the bluetooth process
may crash.

Test: mm -j10
Change-Id: Ia8c2acc2211a0055c66d413e2f60af10b255b0e6
Signed-off-by: default avatarWang Fei <wangfei25@xiaomi.com>
parent 42c67c65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2115,7 +2115,7 @@ tA2DP_STATUS bta_av_co_audio_getconfig(tBTA_AV_HNDL bta_av_handle,
  }
  APPL_TRACE_ERROR(
      "%s: peer %s : Invalid peer UUID: 0x%x for bta_av_handle 0x%x",
      peer_address.ToString().c_str(), peer_uuid, bta_av_handle);
      __func__, peer_address.ToString().c_str(), peer_uuid, bta_av_handle);
  return A2DP_FAIL;
}