patch-2.4.9 linux/net/netrom/af_netrom.c
Next file: linux/net/rose/af_rose.c
Previous file: linux/net/khttpd/waitheaders.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Aug 15 01:22:18 2001
- Orig file:
v2.4.8/linux/net/netrom/af_netrom.c
- Orig date:
Thu Apr 19 08:38:50 2001
diff -u --recursive --new-file v2.4.8/linux/net/netrom/af_netrom.c linux/net/netrom/af_netrom.c
@@ -435,7 +435,7 @@
return -ENOPROTOOPT;
}
- len = min(len, sizeof(int));
+ len = min(unsigned int, len, sizeof(int));
if (put_user(len, optlen))
return -EFAULT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)