patch-1.3.95 linux/drivers/char/tty_io.c

Next file: linux/drivers/isdn/pcbit/callbacks.c
Previous file: linux/drivers/char/sunmouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.94/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -818,7 +818,7 @@
 	ltp_loc = &driver->termios_locked[idx];
 
 repeat:
-	retval = -EAGAIN;
+	retval = -EIO;
 	if (driver->type == TTY_DRIVER_TYPE_PTY &&
 	    driver->subtype == PTY_TYPE_MASTER &&
 	    *tty_loc && (*tty_loc)->count)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this