From 25ec0bc89f7e66c9a5805cafbdd826633ca604d7 Mon Sep 17 00:00:00 2001 From: yunhanw Date: Wed, 29 May 2024 20:13:05 -0700 Subject: [PATCH] address comments --- examples/chip-tool/commands/clusters/ClusterCommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chip-tool/commands/clusters/ClusterCommand.h b/examples/chip-tool/commands/clusters/ClusterCommand.h index 7f46023f7bc2a4..1de8a7c93e2b52 100644 --- a/examples/chip-tool/commands/clusters/ClusterCommand.h +++ b/examples/chip-tool/commands/clusters/ClusterCommand.h @@ -117,7 +117,7 @@ class ClusterCommand : public InteractionModelCommands, public ModelCommand, pub CHIP_ERROR deleteEntryError = CHIPCommand::sICDClientStorage.DeleteEntry(chip::ScopedNodeId(mPeerNodeId, mFabricIndex)); if (deleteEntryError != CHIP_NO_ERROR) { - ChipLogError(chipTool, "Failed to delete ICD entry: %s", chip::ErrorStr(deleteEntryError)); + ChipLogError(chipTool, "Failed to delete ICD entry: %" CHIP_ERROR_FORMAT, deleteEntryError.Format()); } } }