patch-2.1.89 linux/drivers/char/n_tty.c
Next file: linux/drivers/char/pc110pad.c
Previous file: linux/drivers/char/msbusmouse.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Feb 26 19:53:49 1998
- Orig file:
v2.1.88/linux/drivers/char/n_tty.c
- Orig date:
Sat Dec 6 11:26:26 1997
diff -u --recursive --new-file v2.1.88/linux/drivers/char/n_tty.c linux/drivers/char/n_tty.c
@@ -1102,8 +1102,8 @@
{
unsigned int mask = 0;
- poll_wait(&tty->read_wait, wait);
- poll_wait(&tty->write_wait, wait);
+ poll_wait(file, &tty->read_wait, wait);
+ poll_wait(file, &tty->write_wait, wait);
if (input_available_p(tty, TIME_CHAR(tty) ? 0 : MIN_CHAR(tty)))
mask |= POLLIN | POLLRDNORM;
if (tty->packet && tty->link->ctrl_status)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov