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:
parent
9593f1ef8f
commit
a0bdba3231
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue