diff --git a/modules/openthread/platform/diag.c b/modules/openthread/platform/diag.c index f480c8d8f26190a..01144846d99434e 100644 --- a/modules/openthread/platform/diag.c +++ b/modules/openthread/platform/diag.c @@ -458,8 +458,8 @@ static otError processTransmit(otInstance *aInstance, uint8_t aArgsLength, char } sTxRequestedCount = (uint32_t)(value); - diag_output("set diagnostic messages count to %" PRId32 "\r\nstatus 0x%02x\r\n", - sTxRequestedCount, error); + diag_output("set diagnostic messages count to %" PRId32 "\r\n", + sTxRequestedCount); } else { return OT_ERROR_INVALID_ARGS; }