diff options
Diffstat (limited to 'sys/i386/isa/mse.c')
-rw-r--r-- | sys/i386/isa/mse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/mse.c b/sys/i386/isa/mse.c index 3887ba1..17622bd 100644 --- a/sys/i386/isa/mse.c +++ b/sys/i386/isa/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); } |