summaryrefslogtreecommitdiffstats
path: root/sys/dev/rc/rc.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-03-02 16:54:40 +0000
committerdes <des@FreeBSD.org>2003-03-02 16:54:40 +0000
commit2756b6c9641bd9899a346582c191310de25cccc5 (patch)
tree351747321ab136aa733f670c4c2c235b3639bc1e /sys/dev/rc/rc.c
parent3780674329cabab230b12923047c8aa84e4f05fc (diff)
downloadFreeBSD-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/rc/rc.c')
-rw-r--r--sys/dev/rc/rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index 40178ec..1e4df70 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -1007,7 +1007,7 @@ rc_hardclose(struct rc_chans *rc)
}
}
rc->rc_flags &= ~RC_ACTOUT;
- wakeup((caddr_t) &rc->rc_rcb); /* wake bi */
+ wakeup( &rc->rc_rcb); /* wake bi */
wakeup(TSA_CARR_ON(tp));
(void) splx(s);
}
OpenPOWER on IntegriCloud