summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/mfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amiga/dev/mfc.c')
-rw-r--r--sys/arch/amiga/dev/mfc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/amiga/dev/mfc.c b/sys/arch/amiga/dev/mfc.c
index 7d62df1c863..4f582390961 100644
--- a/sys/arch/amiga/dev/mfc.c
+++ b/sys/arch/amiga/dev/mfc.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: mfc.c,v 1.6 1996/05/02 06:44:19 niklas Exp $ */
-/* $NetBSD: mfc.c,v 1.12 1996/04/21 21:12:09 veego Exp $ */
+/* $OpenBSD: mfc.c,v 1.7 1996/08/23 18:53:12 niklas Exp $ */
+/* $NetBSD: mfc.c,v 1.12.4.1 1996/06/06 04:53:16 mhitch Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@@ -488,8 +488,10 @@ mfcsopen(dev, flag, mode, p)
if (sc->sc_tty)
tp = sc->sc_tty;
- else
+ else {
tp = sc->sc_tty = ttymalloc();
+ tty_attach(tp);
+ }
tp->t_oproc = (void (*) (struct tty *)) mfcsstart;
tp->t_param = mfcsparam;