From 5f5ba67d3a59c38a491a6ea0f68a357d0e0a67f1 Mon Sep 17 00:00:00 2001 From: Michael de Lang Date: Sun, 22 Sep 2024 20:23:04 +0200 Subject: [PATCH] Fix compilation issue --- src/services/network/tcp/IOUringTcpHostService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/network/tcp/IOUringTcpHostService.cpp b/src/services/network/tcp/IOUringTcpHostService.cpp index 04b71024..cad033d4 100644 --- a/src/services/network/tcp/IOUringTcpHostService.cpp +++ b/src/services/network/tcp/IOUringTcpHostService.cpp @@ -117,7 +117,7 @@ Ichor::Task> Ichor::IOUringTcpHostService: if(_bindFd == -1) { close(_socket); _socket = -1; - ICHOR_LOG_ERROR(_logger, "Couldn't bind socket with address {} port {}: {}", addressProp == cend(getProperties()) ? std::string{"ANY"} : Ichor::any_cast(addressProp->second), Ichor::any_cast((getProperties())["Port"]), mapErrnoToError(-res)); + ICHOR_LOG_ERROR(_logger, "Couldn't bind socket with address {} port {}: {}", addressProp == cend(getProperties()) ? std::string{"ANY"} : Ichor::any_cast(addressProp->second), Ichor::any_cast((getProperties())["Port"]), mapErrnoToError(errno)); co_return tl::unexpected(StartError::FAILED); }