patch-2.3.16 linux/drivers/char/tty_ioctl.c
Next file: linux/drivers/char/vino.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Aug 31 11:30:48 1999
- Orig file:
v2.3.15/linux/drivers/char/tty_ioctl.c
- Orig date:
Tue May 11 14:37:40 1999
diff -u --recursive --new-file v2.3.15/linux/drivers/char/tty_ioctl.c linux/drivers/char/tty_ioctl.c
@@ -59,7 +59,7 @@
printk("waiting %s...(%d)\n", tty_name(tty, buf),
tty->driver.chars_in_buffer(tty));
#endif
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
if (signal_pending(current))
goto stop_waiting;
if (!tty->driver.chars_in_buffer(tty))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)