patch-2.1.14 linux/drivers/char/tty_ioctl.c
Next file: linux/drivers/isdn/isdn_tty.c
Previous file: linux/drivers/char/stallion.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Nov 30 10:48:34 1996
- Orig file:
v2.1.13/linux/drivers/char/tty_ioctl.c
- Orig date:
Sun Nov 10 20:12:11 1996
diff -u --recursive --new-file v2.1.13/linux/drivers/char/tty_ioctl.c linux/drivers/char/tty_ioctl.c
@@ -513,7 +513,7 @@
return 0;
case TIOCINQ:
retval = verify_area(VERIFY_WRITE, (void *) arg,
- sizeof (unsigned long));
+ sizeof (unsigned int));
if (retval)
return retval;
retval = tty->read_cnt;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov