summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-11-08 16:06:11 +0100
committerSimon Rettberg2021-11-08 16:06:11 +0100
commitd623efe1a3a45c9d7d2cb0458bbe64fbc2e7f567 (patch)
treee50133a72c14623251d4224878e0d95848f4ca73
parent[KERNEL] Explicitly pass proper addrlen on connect; improve debug log (diff)
downloaddnbd3-d623efe1a3a45c9d7d2cb0458bbe64fbc2e7f567.tar.gz
dnbd3-d623efe1a3a45c9d7d2cb0458bbe64fbc2e7f567.tar.xz
dnbd3-d623efe1a3a45c9d7d2cb0458bbe64fbc2e7f567.zip
[KERNEL] Fix wurstfingered missing ;
-rw-r--r--src/kernel/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/net.c b/src/kernel/net.c
index ef16f16..c3ecc54 100644
--- a/src/kernel/net.c
+++ b/src/kernel/net.c
@@ -792,7 +792,7 @@ static struct socket *dnbd3_connect(dnbd3_device_t *dev, struct sockaddr_storage
if (connect_time_ms < SOCKET_TIMEOUT_CLIENT_DATA * 1000)
connect_time_ms = SOCKET_TIMEOUT_CLIENT_DATA * 1000;
else if (connect_time_ms > 60000)
- connect_time_ms = 60000
+ connect_time_ms = 60000;
set_socket_timeouts(sock, connect_time_ms);
start = ktime_get_real();
while (--retries > 0) {