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

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