summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/magma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/magma.c')
-rw-r--r--sys/arch/sparc/dev/magma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c
index 1390ed82200..38413d86e58 100644
--- a/sys/arch/sparc/dev/magma.c
+++ b/sys/arch/sparc/dev/magma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magma.c,v 1.24 2009/11/09 17:53:39 nicm Exp $ */
+/* $OpenBSD: magma.c,v 1.25 2010/04/12 12:57:52 tedu Exp $ */
/*-
* Copyright (c) 1998 Iain Hibbert
@@ -978,7 +978,7 @@ mttyopen(dev, flags, mode, p)
splx(s);
- return ((*linesw[tp->t_line].l_open)(dev, tp));
+ return ((*linesw[tp->t_line].l_open)(dev, tp, p));
}
/*
@@ -996,7 +996,7 @@ mttyclose(dev, flag, mode, p)
struct tty *tp = mp->mp_tty;
int s;
- (*linesw[tp->t_line].l_close)(tp, flag);
+ (*linesw[tp->t_line].l_close)(tp, flag, p);
s = spltty();
/*