summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/sbbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev/sbbc.c')
-rw-r--r--sys/arch/sparc64/dev/sbbc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/sbbc.c b/sys/arch/sparc64/dev/sbbc.c
index ef0f070a57b..e10555e3ab5 100644
--- a/sys/arch/sparc64/dev/sbbc.c
+++ b/sys/arch/sparc64/dev/sbbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbbc.c,v 1.7 2009/11/09 17:53:39 nicm Exp $ */
+/* $OpenBSD: sbbc.c,v 1.8 2010/04/12 12:57:52 tedu Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
@@ -532,7 +532,7 @@ sbbcopen(dev_t dev, int flag, int mode, struct proc *p)
return (EBUSY);
tp->t_state |= TS_CARR_ON;
- return ((*linesw[tp->t_line].l_open)(dev, tp));
+ return ((*linesw[tp->t_line].l_open)(dev, tp, p));
}
int
@@ -549,7 +549,7 @@ sbbcclose(dev_t dev, int flag, int mode, struct proc *p)
return (ENXIO);
tp = sc->sc_tty;
- (*linesw[tp->t_line].l_close)(tp, flag);
+ (*linesw[tp->t_line].l_close)(tp, flag, p);
ttyclose(tp);
return (0);
}