[trel] fix a format error of log (#11586)

According to precedents in other parts of the OpenThread source code,
a 32-bit unsigned integer should be printed using `%lu` instead of
`%u`.
This commit is contained in:
xusiyu
2025-06-17 12:48:17 +08:00
committed by GitHub
parent 3fd719063f
commit 3dd19d9123
+1 -1
View File
@@ -100,7 +100,7 @@ void Peer::ScheduleToRemoveAfter(uint32_t aDelay)
mRemoveTime = TimerMilli::GetNow() + aDelay;
Log(kRemoving);
LogInfo(" after %u msec", aDelay);
LogInfo(" after %lu msec", ToUlong(aDelay));
SetState(kStateRemoving);