patch-2.4.10 linux/net/rose/af_rose.c
Next file: linux/net/sched/sch_tbf.c
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Sep 10 07:58:35 2001
-  Orig file: 
v2.4.9/linux/net/rose/af_rose.c
-  Orig date: 
Mon Aug 27 12:41:50 2001
diff -u --recursive --new-file v2.4.9/linux/net/rose/af_rose.c linux/net/rose/af_rose.c
@@ -508,7 +508,7 @@
 			return -ENOPROTOOPT;
 	}
 
-	len = min(unsigned int, len, sizeof(int));
+	len = min_t(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)