patch-1.3.4 linux/net/appletalk/ddp.c
Next file: linux/net/ax25/af_ax25.c
Previous file: linux/mm/vmalloc.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Jun 26 11:06:53 1995
- Orig file:
v1.3.3/linux/net/appletalk/ddp.c
- Orig date:
Tue Jun 6 12:16:42 1995
diff -u --recursive --new-file v1.3.3/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -998,9 +998,9 @@
err=verify_area(VERIFY_WRITE,optlen,sizeof(int));
if(err)
return err;
- put_fs_long(sizeof(int),(unsigned long *)optlen);
+ put_user(sizeof(int),optlen);
err=verify_area(VERIFY_WRITE,optval,sizeof(int));
- put_fs_long(val,(unsigned long *)optval);
+ put_user(val,optval);
return(0);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this