summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/z8530tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev/z8530tty.c')
-rw-r--r--sys/arch/sparc64/dev/z8530tty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/z8530tty.c b/sys/arch/sparc64/dev/z8530tty.c
index c4119575ce7..dfa79ac9a47 100644
--- a/sys/arch/sparc64/dev/z8530tty.c
+++ b/sys/arch/sparc64/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.19 2010/03/03 20:13:34 miod Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.20 2010/04/12 12:57:52 tedu Exp $ */
/* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */
/*-
@@ -666,7 +666,7 @@ zsopen(dev, flags, mode, p)
splx(s);
if (error == 0)
- error = ((*linesw[tp->t_line].l_open)(dev, tp));
+ error = ((*linesw[tp->t_line].l_open)(dev, tp, p));
if (error)
goto bad;
@@ -703,7 +703,7 @@ zsclose(dev, flags, mode, p)
if (!ISSET(tp->t_state, TS_ISOPEN))
return 0;
- (*linesw[tp->t_line].l_close)(tp, flags);
+ (*linesw[tp->t_line].l_close)(tp, flags, p);
s = spltty();
cs->cs_cua = 0;