patch-2.2.16 linux/drivers/sbus/char/sunmouse.c
Next file: linux/drivers/sbus/char/zs.c
Previous file: linux/drivers/sbus/char/su.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Jun 7 14:26:43 2000
- Orig file:
v2.2.15/linux/drivers/sbus/char/sunmouse.c
- Orig date:
Tue Jan 4 10:12:19 2000
diff -urN v2.2.15/linux/drivers/sbus/char/sunmouse.c linux/drivers/sbus/char/sunmouse.c
@@ -524,13 +524,14 @@
/* This is a buggy application doing termios on the mouse driver */
/* we ignore it. I keep this check here so that we will notice */
/* future mouse vuid ioctls */
- break;
+ return -ENOTTY;
+
default:
#ifdef DEBUG
printk ("[MOUSE-ioctl: %8.8x]\n", cmd);
#endif
- return -1;
+ return -EINVAL;
}
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)