aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-03-14 18:52:14 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-03-14 18:52:14 +0000
commit05e5086aab2d29dce259c42b71f5b67a0bbbf150 (patch)
tree5444c3aa52dcf03c349af01243c3cb6af6cae71e /sys/dev/sio
parent63a748626288c938710a5beb041049ec8154a851 (diff)
Notes
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 33c956800a3b2..fd9c219b3d249 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.32 1994/03/08 22:11:10 ache Exp $
+ * $Id: sio.c,v 1.33 1994/03/10 10:06:27 ache Exp $
*/
#include "sio.h"
@@ -772,8 +772,7 @@ sioclose(dev, flag, mode, p)
com = com_addr(UNIT(dev));
tp = com->tp;
(*linesw[tp->t_line].l_close)(tp, flag);
- if (linesw[tp->t_line].l_close != ttyclose)
- ttyclose(tp);
+ ttyclose(tp);
comhardclose(com);
ttyfree(tp);
#ifdef broken /* session holds a ref to the tty; can't deallocate */