patch-2.1.4 linux/drivers/char/wdt.c
Next file: linux/drivers/isdn/isdn_common.c
Previous file: linux/drivers/char/vt.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/char/wdt.c
- Orig date:
Fri Apr 12 10:33:25 1996
diff -u --recursive --new-file v2.1.3/linux/drivers/char/wdt.c linux/drivers/char/wdt.c
@@ -140,7 +140,7 @@
c*=11;
c/=15;
cp=c+7;
- memcpy_tofs(buf,&cp,1);
+ copy_to_user(buf,&cp,1);
return 1;
default:
return -EINVAL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov