summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/spif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/spif.c')
-rw-r--r--sys/arch/sparc/dev/spif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/spif.c b/sys/arch/sparc/dev/spif.c
index ab6cca4aa9f..03fb662aab9 100644
--- a/sys/arch/sparc/dev/spif.c
+++ b/sys/arch/sparc/dev/spif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spif.c,v 1.25 2010/04/12 12:57:52 tedu Exp $ */
+/* $OpenBSD: spif.c,v 1.26 2010/06/28 14:13:30 deraadt Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -234,7 +234,7 @@ sttyattach(parent, dev, aux)
sp->sp_dtr = 0;
sc->sc_regs->dtrlatch[port] = 1;
- tp = ttymalloc();
+ tp = ttymalloc(0);
tp->t_oproc = stty_start;
tp->t_param = stty_param;