summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/tc/scc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/tc/scc.c')
-rw-r--r--sys/arch/alpha/tc/scc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/tc/scc.c b/sys/arch/alpha/tc/scc.c
index 9f63eabbfac..cb2dcd3c0b5 100644
--- a/sys/arch/alpha/tc/scc.c
+++ b/sys/arch/alpha/tc/scc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scc.c,v 1.27 2010/06/06 11:26:17 miod Exp $ */
+/* $OpenBSD: scc.c,v 1.28 2010/06/28 14:13:26 deraadt Exp $ */
/* $NetBSD: scc.c,v 1.58 2002/03/17 19:40:27 atatat Exp $ */
/*
@@ -326,7 +326,7 @@ sccattach(parent, self, aux)
/* init pseudo DMA structures */
for (cntr = 0; cntr < 2; cntr++) {
pdp->p_addr = (void *)sccaddr;
- tp = sc->scc_tty[cntr] = ttymalloc();
+ tp = sc->scc_tty[cntr] = ttymalloc(0);
pdp->p_arg = (long)tp;
pdp->p_fcn = (void (*)(struct tty*))0;
tp->t_dev = (dev_t)((sc->sc_dv.dv_unit << 1) | cntr);
@@ -461,7 +461,7 @@ sccopen(dev, flag, mode, p)
return (ENXIO);
tp = sc->scc_tty[line];
if (tp == NULL) {
- tp = sc->scc_tty[line] = ttymalloc();
+ tp = sc->scc_tty[line] = ttymalloc(0);
}
tp->t_oproc = sccstart;
tp->t_param = sccparam;