diff --git a/orchagent/portsorch.cpp b/orchagent/portsorch.cpp index 360d6a6622..ff81fd5501 100644 --- a/orchagent/portsorch.cpp +++ b/orchagent/portsorch.cpp @@ -410,6 +410,7 @@ bool PortsOrch::getPortPvid(Port &port, sai_uint32_t &pvid) pvid = port.m_port_vlan_id; return true; } + bool PortsOrch::validatePortSpeed(sai_object_id_t port_id, sai_uint32_t speed) { sai_attribute_t attr; @@ -1672,7 +1673,7 @@ void PortsOrch::getLagMember(Port &lag, vector &portv) { if (!getPort(name, member)) { - SWSS_LOG_ERROR("Failed to get port for %s alias\n", name.c_str()); + SWSS_LOG_ERROR("Failed to get port for %s alias", name.c_str()); return; } portv.push_back(member);