diff options
author | briggs <briggs@cvs.openbsd.org> | 1997-03-29 23:54:21 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1997-03-29 23:54:21 +0000 |
commit | 9bc3427c9382062060852f77940ed2e4da3288d8 (patch) | |
tree | 292c3397633bf488699e9ff0fd92189d06dd3a2d /sys | |
parent | f1b456539d4fcc2acbabf7616f45378a7a032d99 (diff) |
Increase timeout by a factor of ten in cd_size().
NetBSD PR#3409 from Koji Imada <koji@imada.math.human.nagoya-u.ac.jp>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/scsi/cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 1a96f733782..0bb33ae9974 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.21 1997/03/26 01:53:48 deraadt Exp $ */ +/* $OpenBSD: cd.c,v 1.22 1997/03/29 23:54:20 briggs Exp $ */ /* $NetBSD: cd.c,v 1.92 1996/05/05 19:52:50 christos Exp $ */ /* @@ -1120,7 +1120,7 @@ cd_size(cd, flags) */ if (scsi_scsi_cmd(cd->sc_link, (struct scsi_generic *)&scsi_cmd, sizeof(scsi_cmd), (u_char *)&rdcap, sizeof(rdcap), CDRETRIES, - 2000, NULL, flags | SCSI_DATA_IN) != 0) + 20000, NULL, flags | SCSI_DATA_IN) != 0) return 0; blksize = _4btol(rdcap.length); |