patch-2.1.89 linux/drivers/char/joystick.c
Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/char/hfmodem/modem.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Feb 26 19:59:33 1998
- Orig file:
v2.1.88/linux/drivers/char/joystick.c
- Orig date:
Mon Feb 23 18:12:04 1998
diff -u --recursive --new-file v2.1.88/linux/drivers/char/joystick.c linux/drivers/char/joystick.c
@@ -594,7 +594,7 @@
unsigned int minor = MINOR(file->f_dentry->d_inode->i_rdev);
curl = file->private_data;
- poll_wait(&jsd[minor].wait, wait);
+ poll_wait(file, &jsd[minor].wait, wait);
if (GOF(curl->tail) != jsd[minor].ahead)
return POLLIN | POLLRDNORM;
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov