summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/zs.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-11 10:17:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-11 10:17:41 +0000
commit2e1d5b7dae380d3073c3e3f72bf7a3c9b5da596f (patch)
treeba5dafdc0d615509ac0ff400310b2b5735831f9a /sys/arch/mvme68k/dev/zs.c
parentca9ff19887c8f2b865a16ee630a49c870a1e7cd4 (diff)
tty_attach()
Diffstat (limited to 'sys/arch/mvme68k/dev/zs.c')
-rw-r--r--sys/arch/mvme68k/dev/zs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/dev/zs.c b/sys/arch/mvme68k/dev/zs.c
index 855d3f43c24..228b0b718c2 100644
--- a/sys/arch/mvme68k/dev/zs.c
+++ b/sys/arch/mvme68k/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.4 1996/06/11 10:15:38 deraadt Exp $ */
+/* $OpenBSD: zs.c,v 1.5 1996/06/11 10:17:40 deraadt Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -331,6 +331,7 @@ zsopen(dev, flag, mode, p)
zp = &sc->sc_zs[zsside(dev)];
if (zp->tty == NULL) {
zp->tty = ttymalloc();
+ tty_attach(zp->tty);
zs_ttydef(zp);
if (minor(dev) < NZSLINE)
zs_tty[minor(dev)] = zp->tty;