patch-2.4.0-test9 linux/net/socket.c
Next file: linux/net/sunrpc/auth_unix.c
Previous file: linux/net/ipv6/udp.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Sep 21 13:20:12 2000
- Orig file:
v2.4.0-test8/linux/net/socket.c
- Orig date:
Mon Aug 28 12:04:42 2000
diff -u --recursive --new-file v2.4.0-test8/linux/net/socket.c linux/net/socket.c
@@ -822,7 +822,7 @@
* Check protocol is in range
*/
if(family<0 || family>=NPROTO)
- return -EINVAL;
+ return -EAFNOSUPPORT;
/* Compatibility.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)