patch-2.1.89 linux/drivers/char/msbusmouse.c

Next file: linux/drivers/char/n_tty.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.88/linux/drivers/char/msbusmouse.c linux/drivers/char/msbusmouse.c
@@ -159,7 +159,7 @@
 
 static unsigned int mouse_poll(struct file *file, poll_table * wait)
 {
-	poll_wait(&mouse.wait, wait);
+	poll_wait(file, &mouse.wait, wait);
 	if (mouse.ready) 
 		return POLLIN | POLLRDNORM;
 	return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov