From: Ben Gras Date: Tue, 4 Oct 2005 12:04:00 +0000 (+0000) Subject: select status should return minor device number instead of tty X-Git-Tag: v3.1.2a~669 X-Git-Url: http://zhaoyanbai.com/repos/%24relpath%24doxygen.css?a=commitdiff_plain;h=b9defa9abd75be44f4a4218d240e8a0795cdd5d4;p=minix.git select status should return minor device number instead of tty line number --- diff --git a/drivers/tty/tty.c b/drivers/tty/tty.c index 4034a0b93..fb957ab99 100644 --- a/drivers/tty/tty.c +++ b/drivers/tty/tty.c @@ -325,7 +325,7 @@ message *m_ptr; /* I/O for a selected minor device is ready. */ m_ptr->m_type = DEV_IO_READY; - m_ptr->DEV_MINOR = tp->tty_index; + m_ptr->DEV_MINOR = tp->tty_minor; m_ptr->DEV_SEL_OPS = ops; tp->tty_select_ops &= ~ops; /* unmark select event */