patch-2.1.117 linux/drivers/char/macmouse.c
Next file: linux/drivers/char/msbusmouse.c
Previous file: linux/drivers/char/dn_keyb.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Wed Aug 19 13:24:43 1998
- Orig file:
v2.1.116/linux/drivers/char/macmouse.c
- Orig date:
Mon Aug 3 12:45:45 1998
diff -u --recursive --new-file v2.1.116/linux/drivers/char/macmouse.c linux/drivers/char/macmouse.c
@@ -150,11 +150,11 @@
}
-static int fasync_mouse(struct file *filp, int on)
+static int fasync_mouse(int fd, struct file *filp, int on)
{
int retval;
- retval = fasync_helper(filp, on, &mouse.fasyncptr);
+ retval = fasync_helper(fd, filp, on, &mouse.fasyncptr);
if (retval < 0)
return retval;
return 0;
@@ -162,7 +162,7 @@
static int release_mouse(struct inode *inode, struct file *file)
{
- fasync_mouse(file, 0);
+ fasync_mouse(-1, file, 0);
if (--mouse.active)
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov