Subject: tty_tb.c problem
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: None <Mark_Weaver@brown.edu>
List: current-users
Date: 02/12/1994 06:43:22
This is the third day in a row this bug has been in there.  I can't
imagine how this one got through the cracks.

I am not at ALL certain this is the correct fix.  However, that last
parameter is not used in tbtioctl for the BIOSMODE case, so it seems
at least safe for now, and it lets me compile my kernel.

	Mark
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science


diff -u  src/sys/kern/tty_tb.c.mhw1 src/sys/kern/tty_tb.c
--- src/sys/kern/tty_tb.c.mhw1	Thu Feb 10 06:16:10 1994
+++ src/sys/kern/tty_tb.c	Fri Feb 11 05:25:38 1994
@@ -130,10 +130,9 @@
 tbclose(tp)
 	register struct tty *tp;
 {
-	register int s;
 	int modebits = TBPOINT|TBSTOP;
 
-	tbtioctl(tp, BIOSMODE, &modebits, 0, p);
+	tbtioctl(tp, BIOSMODE, &modebits, 0, NULL);
 }
 
 /*

------------------------------------------------------------------------------