summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_ioctl.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-03-20 00:30:59 +0000
committerwollman <wollman@FreeBSD.org>1994-03-20 00:30:59 +0000
commit70a49d0c9c37654ee7f49ee6257b38fcb27f927e (patch)
tree918203f7508b719dc0697b3b738ec5c44716cd0c /sys/scsi/scsi_ioctl.c
parente1b35665a723022f118920987d589045620b384d (diff)
downloadFreeBSD-src-70a49d0c9c37654ee7f49ee6257b38fcb27f927e.zip
FreeBSD-src-70a49d0c9c37654ee7f49ee6257b38fcb27f927e.tar.gz
Get rid of a nagging call to sleep() which crept back in.
Diffstat (limited to 'sys/scsi/scsi_ioctl.c')
-rw-r--r--sys/scsi/scsi_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c
index 08d8a3a..a52b3a5 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"));
OpenPOWER on IntegriCloud