diff options
author | wollman <wollman@FreeBSD.org> | 1994-03-20 00:30:59 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-03-20 00:30:59 +0000 |
commit | 70a49d0c9c37654ee7f49ee6257b38fcb27f927e (patch) | |
tree | 918203f7508b719dc0697b3b738ec5c44716cd0c /sys/scsi | |
parent | e1b35665a723022f118920987d589045620b384d (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/scsi/scsi_ioctl.c | 2 |
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")); |