diff --git a/src/cli/cli.cpp b/src/cli/cli.cpp index 16817db6b..92a66dcb9 100644 --- a/src/cli/cli.cpp +++ b/src/cli/cli.cpp @@ -3343,7 +3343,7 @@ otError Interpreter::ProcessPing(Arg aArgs[]) if (!async) { - error = kErrorPending; + error = OT_ERROR_PENDING; } exit: