aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/tipc/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c
index 69d0fd1f3920..b89c7b1a0d09 100644
--- a/net/tipc/socket.c
+++ b/net/tipc/socket.c
@@ -1380,7 +1380,7 @@ static int connect(struct socket *sock, struct sockaddr *dest, int destlen,
1380 /* For now, TIPC does not support the non-blocking form of connect() */ 1380 /* For now, TIPC does not support the non-blocking form of connect() */
1381 1381
1382 if (flags & O_NONBLOCK) { 1382 if (flags & O_NONBLOCK) {
1383 res = -EWOULDBLOCK; 1383 res = -EOPNOTSUPP;
1384 goto exit; 1384 goto exit;
1385 } 1385 }
1386 1386