diff --git a/src/cli/cli.cpp b/src/cli/cli.cpp index a88bb3b1d..a46a198ec 100644 --- a/src/cli/cli.cpp +++ b/src/cli/cli.cpp @@ -1624,7 +1624,7 @@ void Interpreter::ProcessNetworkTime(int argc, char *argv[]) networkTimeStatus = otNetworkTimeGet(mInstance, time); - mServer->OutputFormat("Network Time: %dus", time); + mServer->OutputFormat("Network Time: %luus", time); switch (networkTimeStatus) {