From 2e1d5b7dae380d3073c3e3f72bf7a3c9b5da596f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 11 Jun 1996 10:17:41 +0000 Subject: tty_attach() --- sys/arch/mvme68k/dev/zs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/mvme68k/dev/zs.c') 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; -- cgit v1.2.3