patch-2.0.19 linux/drivers/char/tty_io.c
Next file: linux/drivers/net/de4x5.c
Previous file: linux/drivers/char/psaux.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sat Sep 7 18:09:14 1996
- Orig file:
v2.0.18/linux/drivers/char/tty_io.c
- Orig date:
Sun Sep 8 19:50:20 1996
diff -u --recursive --new-file v2.0.18/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -777,8 +777,9 @@
ret = write(tty, file, buf, size);
if (ret <= 0)
break;
- count -= ret;
written += ret;
+ buf += ret;
+ count -= ret;
if (!count)
break;
ret = -ERESTARTSYS;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov