Skip to content

Commit 18216bf

Browse files
committed
Fix build
1 parent 8a5002b commit 18216bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/darwin/Framework/CHIP/MTRBaseDevice.mm

+2-1
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,8 @@ + (id)CHIPEncodeAndDecodeNSObject:(id)object
14571457
}
14581458
__auto_type tag = reader.GetTag();
14591459
if (tag != chip::TLV::Tag(1)) {
1460-
MTR_LOG_ERROR("Error: TLV reader did not read the tag correctly: %llu", tag.mVal);
1460+
MTR_LOG_ERROR("Error: TLV reader did not read the tag correctly: %x.%u", chip::TLV::ProfileIdFromTag(tag),
1461+
chip::TLV::TagNumberFromTag(tag));
14611462
return nil;
14621463
}
14631464
MTRDataValueDictionaryDecodableType decodedData;

0 commit comments

Comments
 (0)