patch-2.1.4 linux/drivers/net/strip.c
Next file: linux/drivers/net/wic.c
Previous file: linux/drivers/net/slip.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Oct 13 21:11:14 1996
- Orig file:
v2.1.3/linux/drivers/net/strip.c
- Orig date:
Wed Aug 14 10:21:03 1996
diff -u --recursive --new-file v2.1.3/linux/drivers/net/strip.c linux/drivers/net/strip.c
@@ -2675,7 +2675,7 @@
err = verify_area(VERIFY_WRITE, (void*)arg, 16);
if (err)
return -err;
- memcpy_tofs((void*)arg, strip_info->dev.name,
+ copy_to_user((void*)arg, strip_info->dev.name,
strlen(strip_info->dev.name) + 1);
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov