]> Zhao Yanbai Git Server - minix.git/commitdiff
TTY should not panic when it is impossible to reply. A driver may crash
authorPhilip Homburg <philip@cs.vu.nl>
Mon, 28 Aug 2006 12:16:15 +0000 (12:16 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Mon, 28 Aug 2006 12:16:15 +0000 (12:16 +0000)
before receiving the reply from TTY.

drivers/tty/tty.c

index 993cbbe3e859b3d792570d0ef07f6dbbf4b03d43..e10db0353e5b4f136ac80116309b44825cc4cdde 100644 (file)
@@ -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);
   }
 }