From: Philip Homburg Date: Mon, 28 Aug 2006 12:16:15 +0000 (+0000) Subject: TTY should not panic when it is impossible to reply. A driver may crash X-Git-Tag: v3.1.3~193 X-Git-Url: http://zhaoyanbai.com/repos/man.host.html?a=commitdiff_plain;h=0ac9521c9449aec0d513c363b5809fa461fb1a71;p=minix.git TTY should not panic when it is impossible to reply. A driver may crash before receiving the reply from TTY. --- diff --git a/drivers/tty/tty.c b/drivers/tty/tty.c index 993cbbe3e..e10db0353 100644 --- a/drivers/tty/tty.c +++ b/drivers/tty/tty.c @@ -1478,7 +1478,7 @@ int status; /* reply code */ } if ((status = send(replyee, &tty_mess)) != OK) { - panic("TTY","tty_reply failed, status\n", status); + printf("tty: tty_reply to %d failed: %d\n", replyee, status); } }