patch-2.1.4 linux/drivers/isdn/isdn_net.c
Next file: linux/drivers/isdn/isdn_ppp.c
Previous file: linux/drivers/isdn/isdn_common.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Oct 13 21:11:12 1996
- Orig file:
v2.1.3/linux/drivers/isdn/isdn_net.c
- Orig date:
Sat Aug 31 19:13:03 1996
diff -u --recursive --new-file v2.1.3/linux/drivers/isdn/isdn_net.c linux/drivers/isdn/isdn_net.c
@@ -2195,7 +2195,7 @@
restore_flags(flags);
return ret;
}
- memcpy_tofs(phones, n->num, strlen(n->num) + 1);
+ copy_to_user(phones, n->num, strlen(n->num) + 1);
phones += strlen(n->num);
count += strlen(n->num);
more = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov