patch-2.4.10 linux/drivers/s390/net/netiucv.c

Next file: linux/drivers/sbus/char/jsflash.c
Previous file: linux/drivers/s390/net/iucv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/drivers/s390/net/netiucv.c linux/drivers/s390/net/netiucv.c
@@ -828,7 +828,7 @@
 
 	memset (iucv_userid[devnumber], ' ', 8);
 	memcpy (iucv_userid[devnumber], userid,
-		min(unsigned int, strlen(userid), 8));
+		min_t(unsigned int, strlen(userid), 8));
 	dev = &iucv_netdev[devnumber];
 	sprintf (dev->name, "iucv%i", devnumber);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)