summaryrefslogtreecommitdiff
path: root/redfish-core/lib/systems.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/systems.hpp')
-rw-r--r--redfish-core/lib/systems.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp
index 736b15850e..1cedf2d38d 100644
--- a/redfish-core/lib/systems.hpp
+++ b/redfish-core/lib/systems.hpp
@@ -2974,7 +2974,7 @@ inline void afterPortRequest(
if (protocolName == "SSH")
{
getPortNumber(socketPath, [asyncResp, protocolName](
- const boost::system::error_code ec1,
+ const boost::system::error_code& ec1,
int portNumber) {
if (ec1)
{