From: Ben Gras Date: Thu, 13 Oct 2005 08:49:42 +0000 (+0000) Subject: Get out silly debug message X-Git-Tag: v3.1.2a~630 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=7226f4685f1dac87a6d4e8d0c79cc6b269864dc9;p=minix.git Get out silly debug message --- diff --git a/drivers/tty/tty.c b/drivers/tty/tty.c index 323af8326..c1448ead7 100644 --- a/drivers/tty/tty.c +++ b/drivers/tty/tty.c @@ -297,8 +297,8 @@ PUBLIC void main(void) case DEV_SELECT: do_select(tp, &tty_mess); break; case CANCEL: do_cancel(tp, &tty_mess); break; default: - printf("Warning, TTY got unexpected request %d from %d (open is %d)\n", - tty_mess.m_type, tty_mess.m_source, DEV_OPEN); + printf("Warning, TTY got unexpected request %d from %d\n", + tty_mess.m_type, tty_mess.m_source); tty_reply(TASK_REPLY, tty_mess.m_source, tty_mess.PROC_NR, EINVAL); }