patch-2.3.1 linux/drivers/char/tty_ioctl.c
Next file: linux/drivers/char/vt.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue May 11 14:37:40 1999
- Orig file:
v2.3.0/linux/drivers/char/tty_ioctl.c
- Orig date:
Tue Jan 19 10:12:05 1999
diff -u --recursive --new-file v2.3.0/linux/drivers/char/tty_ioctl.c linux/drivers/char/tty_ioctl.c
@@ -42,7 +42,7 @@
void tty_wait_until_sent(struct tty_struct * tty, long timeout)
{
- struct wait_queue wait = { current, NULL };
+ DECLARE_WAITQUEUE(wait, current);
#ifdef TTY_DEBUG_WAIT_UNTIL_SENT
char buf[64];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)