Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add space after %p format specifier in attribute-table logs #31194

Merged
merged 1 commit into from
Dec 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading