From 8ad315f725bb5f9e9499cebb5bcb309050a9d6e3 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Fri, 30 Nov 2018 10:50:17 -0800 Subject: [PATCH] [mle] print partition id as unsigned int (#3333) Print partition id as unsigned int to be consistent with all other prints of partition id. --- src/core/thread/mle_router.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/thread/mle_router.cpp b/src/core/thread/mle_router.cpp index 0835ac576..f83cc1bf0 100644 --- a/src/core/thread/mle_router.cpp +++ b/src/core/thread/mle_router.cpp @@ -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);