always good to think about patches before they're included:

NEVER pass a "NULL" proc to an ioctl; you never know when a 'real'
proc will be needed.  pass curproc, if you don't have one.
This commit is contained in:
cgd 1994-02-13 00:10:47 +00:00
parent 9593f1ef8f
commit a0bdba3231
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)tty_tb.c 7.7 (Berkeley) 5/9/91
* $Id: tty_tb.c,v 1.9 1994/02/12 15:52:49 glass Exp $
* $Id: tty_tb.c,v 1.10 1994/02/13 00:10:47 cgd Exp $
*/
#include "tb.h"
@ -132,7 +132,7 @@ tbclose(tp)
{
int modebits = TBPOINT|TBSTOP;
tbtioctl(tp, BIOSMODE, &modebits, 0, NULL);
tbtioctl(tp, BIOSMODE, &modebits, 0, curproc);
}
/*