summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vxt/qsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/vxt/qsc.c')
-rw-r--r--sys/arch/vax/vxt/qsc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/vxt/qsc.c b/sys/arch/vax/vxt/qsc.c
index 274a4c57375..3e09171455e 100644
--- a/sys/arch/vax/vxt/qsc.c
+++ b/sys/arch/vax/vxt/qsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qsc.c,v 1.6 2010/04/12 12:57:52 tedu Exp $ */
+/* $OpenBSD: qsc.c,v 1.7 2010/06/28 14:13:32 deraadt Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
@@ -569,7 +569,7 @@ qscopen(dev_t dev, int flag, int mode, struct proc *p)
if (sc->sc_tty[line] != NULL)
tp = sc->sc_tty[line];
else
- tp = sc->sc_tty[line] = ttymalloc();
+ tp = sc->sc_tty[line] = ttymalloc(0);
tp->t_oproc = qscstart;
tp->t_param = qscparam;