aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ida
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-03-02 16:54:40 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-03-02 16:54:40 +0000
commit521f364b804158f257fdd8ad7cbf368a0efe5a44 (patch)
tree351747321ab136aa733f670c4c2c235b3639bc1e /sys/dev/ida
parent715b1e0ab00116f80903f29c1c794097b1dd7374 (diff)
More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).
Notes
svn path=/head/; revision=111748
Diffstat (limited to 'sys/dev/ida')
-rw-r--r--sys/dev/ida/ida.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c
index f7c026f30ed1..2f725b16809e 100644
--- a/sys/dev/ida/ida.c
+++ b/sys/dev/ida/ida.c
@@ -445,7 +445,7 @@ ida_wait(struct ida_softc *ida, struct ida_qcb *qcb)
int delay;
if (ida->flags & IDA_INTERRUPTS) {
- if (tsleep((caddr_t)qcb, PRIBIO, "idacmd", 5 * hz))
+ if (tsleep(qcb, PRIBIO, "idacmd", 5 * hz))
return (ETIMEDOUT);
return (0);
}