From: briggs Date: Sat, 29 Mar 1997 23:54:20 +0000 (+0000) Subject: Increase timeout by a factor of ten in cd_size(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=80e3d48821db053bd43512b7120c1663025e5ce6;p=openbsd Increase timeout by a factor of ten in cd_size(). NetBSD PR#3409 from Koji Imada --- 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);