diff --git a/src/app/MessageDef/MessageDefHelper.cpp b/src/app/MessageDef/MessageDefHelper.cpp index 0ff06438baca57..a8f0283968a85f 100644 --- a/src/app/MessageDef/MessageDefHelper.cpp +++ b/src/app/MessageDef/MessageDefHelper.cpp @@ -217,7 +217,7 @@ CHIP_ERROR CheckIMPayload(TLV::TLVReader & aReader, int aDepth, const char * aLa { for (size_t i = 0; i < len; i++) { - PRETTY_PRINT_SAMELINE("0x%x, ", value_b[i]); + PRETTY_PRINT_SAMELINE("0x%02x, ", value_b[i]); } }