[log] fix incorrect format strings (#8255)

This commit is contained in:
Abtin Keshavarzian
2022-10-07 21:51:06 -07:00
committed by GitHub
parent b0266bc00e
commit 4a0d069ee8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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());
}