diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-09-28 14:26:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-09-28 14:26:26 +0000 |
commit | 3ac8d3d448ecb61162e8b6ea13609beee2e4ceba (patch) | |
tree | 9cfa4bd9cce325fbb057f649bbbfef66abb65147 /sys/arch | |
parent | b37465bd36aab1129d0f3931aa17c9d69d3a2d21 (diff) |
Be sure to invoke tty_attach() after ttymalloc().
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme88k/dev/cl.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/dart.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c index 718a12da8e0..4220d2af469 100644 --- a/sys/arch/mvme88k/dev/cl.c +++ b/sys/arch/mvme88k/dev/cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cl.c,v 1.29 2003/08/15 20:32:14 tedu Exp $ */ +/* $OpenBSD: cl.c,v 1.30 2003/09/28 14:26:25 miod Exp $ */ /* * Copyright (c) 1995 Dale Rahn. All rights reserved. @@ -529,7 +529,7 @@ clopen(dev, flag, mode, p) tp = cl->tty; } else { tp = cl->tty = ttymalloc(); -/* tty_attach(tp);*/ + tty_attach(tp); } tp->t_oproc = clstart; tp->t_param = clparam; diff --git a/sys/arch/mvme88k/dev/dart.c b/sys/arch/mvme88k/dev/dart.c index 5bdd8644add..ae71f410d75 100644 --- a/sys/arch/mvme88k/dev/dart.c +++ b/sys/arch/mvme88k/dev/dart.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dart.c,v 1.22 2003/09/22 21:39:39 miod Exp $ */ +/* $OpenBSD: dart.c,v 1.23 2003/09/28 14:26:25 miod Exp $ */ /* * Mach Operating System @@ -833,6 +833,7 @@ dartopen (dev, flag, mode, p) tp = dart->tty; } else { tp = dart->tty = ttymalloc(); + tty_attach(tp); simple_lock_init(&dart->t_lock); } |