diff options
author | joerg <joerg@FreeBSD.org> | 1996-05-12 12:36:59 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-05-12 12:36:59 +0000 |
commit | 09a749195d61e633a4796a015b21ca5486ecbd84 (patch) | |
tree | 912e5f44bffaf8c36d3f48be573b55076b227f4a /sys/dev | |
parent | d9d34595e1086b56108af8f8da6048cb51ce520f (diff) | |
download | FreeBSD-src-09a749195d61e633a4796a015b21ca5486ecbd84.zip FreeBSD-src-09a749195d61e633a4796a015b21ca5486ecbd84.tar.gz |
Fix the "well-known retries bug" (a logic-o).
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/syscons/syscons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index b968da5..c80e073 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.147 1996/05/02 21:47:50 ache Exp $ + * $Id: syscons.c,v 1.148 1996/05/11 23:16:23 joerg Exp $ */ #include "sc.h" @@ -233,7 +233,7 @@ scprobe(struct isa_device *dev) } } gotres: - if (!retries) + if (retries < 0) printf("scprobe: keyboard won't accept RESET command\n"); else { i = 10; /* At most 10 retries. */ |