mirror of
https://github.com/espressif/openthread.git
synced 2026-08-19 17:09:51 +00:00
[log] fix incorrect format strings (#8255)
This commit is contained in:
@@ -83,7 +83,7 @@ void Client::HostInfo::EnableAutoAddress(void)
|
||||
mNumAddresses = 0;
|
||||
mAutoAddress = true;
|
||||
|
||||
LogInfo("HostInfo enabled auto address", GetNumAddresses());
|
||||
LogInfo("HostInfo enabled auto address");
|
||||
}
|
||||
|
||||
void Client::HostInfo::SetAddresses(const Ip6::Address *aAddresses, uint8_t aNumAddresses)
|
||||
|
||||
@@ -595,7 +595,7 @@ void DuaManager::HandleTmf<kUriDuaRegistrationNotify>(Coap::Message &aMessage, c
|
||||
|
||||
exit:
|
||||
OT_UNUSED_VARIABLE(error);
|
||||
LogInfo("Received DUA.ntf: %d", ErrorToString(error));
|
||||
LogInfo("Received DUA.ntf: %s", ErrorToString(error));
|
||||
}
|
||||
|
||||
Error DuaManager::ProcessDuaResponse(Coap::Message &aMessage)
|
||||
|
||||
@@ -959,7 +959,7 @@ void MeshForwarder::GetForwardFramePriority(const FrameData & aFrameData,
|
||||
exit:
|
||||
if (error != kErrorNone)
|
||||
{
|
||||
LogNote("Failed to get forwarded frame priority, error:%s, len:%d, src:%d, dst:%s", ErrorToString(error),
|
||||
LogNote("Failed to get forwarded frame priority, error:%s, len:%d, src:%s, dst:%s", ErrorToString(error),
|
||||
frameData.GetLength(), aMeshAddrs.mSource.ToString().AsCString(),
|
||||
aMeshAddrs.mDestination.ToString().AsCString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user