Skip to content

Commit 78e3240

Browse files
Fix build issue
1 parent 56c21cf commit 78e3240

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orchagent/aclorch.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ bool AclRule::validateAddMatch(string attr_name, string attr_value)
939939
}
940940
else
941941
{
942-
SWSS_LOG_ERROR("Invalid BTH_OPCODE configuration: %s, expected format <data>/<mask>", attr_value);
942+
SWSS_LOG_ERROR("Invalid BTH_OPCODE configuration: %s, expected format <data>/<mask>", attr_value.c_str());
943943
return false;
944944
}
945945
}
@@ -954,7 +954,7 @@ bool AclRule::validateAddMatch(string attr_name, string attr_value)
954954
}
955955
else
956956
{
957-
SWSS_LOG_ERROR("Invalid AETH_SYNDROME configuration: %s, expected format <data>/<mask>", attr_value);
957+
SWSS_LOG_ERROR("Invalid AETH_SYNDROME configuration: %s, expected format <data>/<mask>", attr_value.c_str());
958958
return false;
959959
}
960960
}

0 commit comments

Comments
 (0)