diff options
-rw-r--r-- | i386/i386at/com.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/i386/i386at/com.c b/i386/i386at/com.c index 8f293af..e1ba71a 100644 --- a/i386/i386at/com.c +++ b/i386/i386at/com.c @@ -338,6 +338,8 @@ io_return_t comopen( */ if (!com_reprobe(unit)) return D_NO_SUCH_DEVICE; + if ((isai = cominfo[unit]) == 0 || isai->alive == 0) + return D_NO_SUCH_DEVICE; } tp = &com_tty[unit]; |