summaryrefslogtreecommitdiffstats
path: root/sys/dev/ida/ida.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ida/ida.c')
-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 f7c026f..2f725b1 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);
}
OpenPOWER on IntegriCloud