TTY should not panic when it is impossible to reply. A driver may crash
before receiving the reply from TTY.
This commit is contained in:
parent
2f58281a20
commit
0ac9521c94
@ -1478,7 +1478,7 @@ int status; /* reply code */
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((status = send(replyee, &tty_mess)) != OK) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user