patch-2.0.34 linux/net/socket.c
Next file: linux/net/unix/af_unix.c
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Wed Jun  3 15:17:50 1998
 -  Orig file: 
v2.0.33/linux/net/socket.c
 -  Orig date: 
Mon Jul 15 01:31:51 1996
 
diff -u --recursive --new-file v2.0.33/linux/net/socket.c linux/net/socket.c
@@ -588,7 +588,7 @@
 	if ((fd = get_fd(SOCK_INODE(sock))) < 0) 
 	{
 		sock_release(sock);
-		return(-EINVAL);
+		return fd;
 	}
 
 	sock->file=current->files->fd[fd];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov