mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user