diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c index 08d8a3ab5db3..a52b3a5eebd6 100644 --- a/sys/scsi/scsi_ioctl.c +++ b/sys/scsi/scsi_ioctl.c @@ -199,7 +199,7 @@ void scsistrategy(struct buf *bp) s = splbio(); while(!(bp->b_flags & B_DONE)) { - sleep(bp,PRIBIO); + tsleep((caddr_t)bp, PRIBIO, "scsistrat", 0); } splx(s); SC_DEBUG(sc_link,SDEV_DB3,("back from sleep\n"));