Skip to content

Commit

Permalink
Add space after %p format specifier (project-chip#31194)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamdp authored Dec 28, 2023
1 parent b364ee6 commit 4855f58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/util/attribute-table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ EmberAfStatus emAfWriteAttribute(EndpointId endpoint, ClusterId cluster, Attribu
// if we dont support that attribute
if (metadata == nullptr)
{
ChipLogProgress(Zcl, "%pep %x clus " ChipLogFormatMEI " attr " ChipLogFormatMEI " not supported", "WRITE ERR: ", endpoint,
ChipLogProgress(Zcl, "%p ep %x clus " ChipLogFormatMEI " attr " ChipLogFormatMEI " not supported", "WRITE ERR: ", endpoint,
ChipLogValueMEI(cluster), ChipLogValueMEI(attributeID));
return status;
}
Expand All @@ -182,13 +182,13 @@ EmberAfStatus emAfWriteAttribute(EndpointId endpoint, ClusterId cluster, Attribu
{
if (dataType != metadata->attributeType)
{
ChipLogProgress(Zcl, "%pinvalid data type", "WRITE ERR: ");
ChipLogProgress(Zcl, "%p invalid data type", "WRITE ERR: ");
return EMBER_ZCL_STATUS_INVALID_DATA_TYPE;
}

if (metadata->IsReadOnly())
{
ChipLogProgress(Zcl, "%pattr not writable", "WRITE ERR: ");
ChipLogProgress(Zcl, "%p attr not writable", "WRITE ERR: ");
return EMBER_ZCL_STATUS_UNSUPPORTED_WRITE;
}
}
Expand Down

0 comments on commit 4855f58

Please sign in to comment.