diff options
author | des <des@FreeBSD.org> | 2003-03-02 16:54:40 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-03-02 16:54:40 +0000 |
commit | 2756b6c9641bd9899a346582c191310de25cccc5 (patch) | |
tree | 351747321ab136aa733f670c4c2c235b3639bc1e /sys/dev/mse/mse.c | |
parent | 3780674329cabab230b12923047c8aa84e4f05fc (diff) | |
download | FreeBSD-src-2756b6c9641bd9899a346582c191310de25cccc5.zip FreeBSD-src-2756b6c9641bd9899a346582c191310de25cccc5.tar.gz |
More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).
Diffstat (limited to 'sys/dev/mse/mse.c')
-rw-r--r-- | sys/dev/mse/mse.c | 4 |
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); } |