summaryrefslogtreecommitdiffstats
path: root/sys/dev/mse/mse.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mse/mse.c')
-rw-r--r--sys/dev/mse/mse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c
index 3887ba1..17622bd 100644
--- a/sys/dev/mse/mse.c
+++ b/sys/dev/mse/mse.c
@@ -474,7 +474,7 @@ mseread(dev, uio, ioflag)
return (0);
}
sc->sc_flags |= MSESC_WANT;
- error = tsleep((caddr_t)sc, MSEPRI | PCATCH,
+ error = tsleep(sc, MSEPRI | PCATCH,
"mseread", 0);
if (error) {
splx(s);
@@ -753,7 +753,7 @@ mseintr(arg)
(sc->sc_obuttons ^ sc->sc_buttons) != 0) {
if (sc->sc_flags & MSESC_WANT) {
sc->sc_flags &= ~MSESC_WANT;
- wakeup((caddr_t)sc);
+ wakeup(sc);
}
selwakeup(&sc->sc_selp);
}
OpenPOWER on IntegriCloud