aboutgitcodebugslistschat
path: root/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcp.c')
-rw-r--r--tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcp.c b/tcp.c
index 6fba865..8181364 100644
--- a/tcp.c
+++ b/tcp.c
@@ -3744,8 +3744,8 @@ static int tcp_flow_repair_connect(const struct ctx *c,
rc = flowside_connect(c, conn->sock, PIF_HOST, tgt);
if (rc) {
- rc = -errno;
- flow_perror(conn, "Failed to connect migrated socket");
+ flow_err(conn, "Failed to connect migrated socket: %s",
+ strerror_(-rc));
return rc;
}