[mle] print partition id as unsigned int (#3333)

Print partition id as unsigned int to be consistent with all other prints
of partition id.
This commit is contained in:
Jonathan Hui
2018-11-30 10:50:17 -08:00
committed by GitHub
parent 6b01499e83
commit 8ad315f725
+1 -1
View File
@@ -1203,7 +1203,7 @@ otError MleRouter::HandleAdvertisement(const Message &aMessage, const Ip6::Messa
if (partitionId != mLeaderData.GetPartitionId())
{
otLogNoteMle("Different partition (peer:%d, local:%d)", leaderData.GetPartitionId(),
otLogNoteMle("Different partition (peer:%u, local:%u)", leaderData.GetPartitionId(),
mLeaderData.GetPartitionId());
VerifyOrExit(linkMargin >= OPENTHREAD_CONFIG_MLE_PARTITION_MERGE_MARGIN_MIN, error = OT_ERROR_LINK_MARGIN_LOW);