patch-1.3.4 linux/net/ax25/af_ax25.c
Next file: linux/net/ipv4/raw.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Mon Jun 26 11:06:53 1995
- Orig file:
v1.3.3/linux/net/ax25/af_ax25.c
- Orig date:
Tue Jun 6 12:16:42 1995
diff -u --recursive --new-file v1.3.3/linux/net/ax25/af_ax25.c linux/net/ax25/af_ax25.c
@@ -708,12 +708,12 @@
if ((err = verify_area(VERIFY_WRITE, optlen, sizeof(int))) != 0)
return err;
- put_fs_long(sizeof(int), (unsigned long *)optlen);
+ put_user(sizeof(int), optlen);
if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0)
return err;
- 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