mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-21 16:32:25 +01:00
Clean up previous commit.
This commit is contained in:
parent
9118d452d7
commit
633295cda7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3725
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.54 1994/10/12 19:49:11 bde Exp $
|
||||
* $Id: sio.c,v 1.55 1994/10/15 18:05:25 ache Exp $
|
||||
*/
|
||||
|
||||
#include "sio.h"
|
||||
@ -876,9 +876,9 @@ sioclose(dev, flag, mode, p)
|
||||
com = com_addr(MINOR_TO_UNIT(mynor));
|
||||
tp = com->tp;
|
||||
s = spltty();
|
||||
timeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq, 60*hz);
|
||||
timeout(wakeup, TSA_OCOMPLETE(tp), 60 * hz);
|
||||
(*linesw[tp->t_line].l_close)(tp, flag);
|
||||
untimeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq);
|
||||
untimeout(wakeup, TSA_OCOMPLETE(tp));
|
||||
siostop(tp, FREAD | FWRITE);
|
||||
comhardclose(com);
|
||||
ttyclose(tp);
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.54 1994/10/12 19:49:11 bde Exp $
|
||||
* $Id: sio.c,v 1.55 1994/10/15 18:05:25 ache Exp $
|
||||
*/
|
||||
|
||||
#include "sio.h"
|
||||
@ -876,9 +876,9 @@ sioclose(dev, flag, mode, p)
|
||||
com = com_addr(MINOR_TO_UNIT(mynor));
|
||||
tp = com->tp;
|
||||
s = spltty();
|
||||
timeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq, 60*hz);
|
||||
timeout(wakeup, TSA_OCOMPLETE(tp), 60 * hz);
|
||||
(*linesw[tp->t_line].l_close)(tp, flag);
|
||||
untimeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq);
|
||||
untimeout(wakeup, TSA_OCOMPLETE(tp));
|
||||
siostop(tp, FREAD | FWRITE);
|
||||
comhardclose(com);
|
||||
ttyclose(tp);
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.54 1994/10/12 19:49:11 bde Exp $
|
||||
* $Id: sio.c,v 1.55 1994/10/15 18:05:25 ache Exp $
|
||||
*/
|
||||
|
||||
#include "sio.h"
|
||||
@ -876,9 +876,9 @@ sioclose(dev, flag, mode, p)
|
||||
com = com_addr(MINOR_TO_UNIT(mynor));
|
||||
tp = com->tp;
|
||||
s = spltty();
|
||||
timeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq, 60*hz);
|
||||
timeout(wakeup, TSA_OCOMPLETE(tp), 60 * hz);
|
||||
(*linesw[tp->t_line].l_close)(tp, flag);
|
||||
untimeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq);
|
||||
untimeout(wakeup, TSA_OCOMPLETE(tp));
|
||||
siostop(tp, FREAD | FWRITE);
|
||||
comhardclose(com);
|
||||
ttyclose(tp);
|
||||
|
Loading…
Reference in New Issue
Block a user