patch-2.1.9 linux/net/appletalk/ddp.c

Next file: linux/net/ax25/Makefile
Previous file: linux/net/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -1084,7 +1084,7 @@
 	err=verify_area(VERIFY_WRITE,optval,sizeof(int));
 	if (err) 
 		return err;
-	put_user(val,optval);
+	put_user(val, (int *)optval);
 	return(0);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov