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

Commit 211462ef authored by Yi Kong's avatar Yi Kong Committed by android-build-merger
Browse files

Merge "btif_sock_rfc: Use %u for uint32_t" am: b47c004f

am: 8f0a05ba

Change-Id: I2468a22c1ca37fde3b2d40f2df78fe48b1b3db03
parents 8e953af4 8f0a05ba
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ static rfc_slot_t* find_rfc_slot_by_id(uint32_t id) {
  for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i)
    if (rfc_slots[i].id == id) return &rfc_slots[i];

  LOG_ERROR(LOG_TAG, "%s unable to find RFCOMM slot id: %d", __func__, id);
  LOG_ERROR(LOG_TAG, "%s unable to find RFCOMM slot id: %u", __func__, id);
  return NULL;
}

@@ -620,7 +620,7 @@ static uint32_t rfcomm_cback(tBTA_JV_EVT event, tBTA_JV* p_data,
      break;

    default:
      LOG_ERROR(LOG_TAG, "%s unhandled event %d, slot id: %zi", __func__, event,
      LOG_ERROR(LOG_TAG, "%s unhandled event %d, slot id: %u", __func__, event,
                rfcomm_slot_id);
      break;
  }