From dc410a6245bca47034fcb859bca951b30719fba6 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 6 Feb 2006 15:02:19 +0000 Subject: [PATCH] #ifdeffed out some debug code --- drivers/tty/tty.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/tty/tty.c b/drivers/tty/tty.c index 4da224165..a38364ec3 100644 --- a/drivers/tty/tty.c +++ b/drivers/tty/tty.c @@ -166,6 +166,7 @@ PUBLIC void main(void) register struct proc *rp; register tty_t *tp; +#if DEBUG kputc('H'); kputc('e'); kputc('l'); @@ -174,6 +175,7 @@ PUBLIC void main(void) kputc(','); kputc(' '); printf("TTY\n"); +#endif /* Initialize the TTY driver. */ tty_init(); @@ -1571,7 +1573,9 @@ PRIVATE void tty_init() if (sigaction(SIGKMESS,&sa,NULL)<0) panic("TTY","sigaction failed", errno); if (sigaction(SIGKSTOP,&sa,NULL)<0) panic("TTY","sigaction failed", errno); #endif +#if DEBUG printf("end of tty_init\n"); +#endif } /*===========================================================================* -- 2.44.0