diff options
Diffstat (limited to 'sys/dev/pci/eso.c')
-rw-r--r-- | sys/dev/pci/eso.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/eso.c b/sys/dev/pci/eso.c index 5e691665a20..9c0fd9491ce 100644 --- a/sys/dev/pci/eso.c +++ b/sys/dev/pci/eso.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eso.c,v 1.7 1999/12/05 18:35:33 espie Exp $ */ +/* $OpenBSD: eso.c,v 1.8 2000/01/11 13:40:05 deraadt Exp $ */ /* $NetBSD: eso.c,v 1.3 1999/08/02 17:37:43 augustss Exp $ */ /* @@ -235,7 +235,7 @@ eso_attach(parent, self, aux) sc->sc_revision = PCI_REVISION(pa->pa_class); - if (sc->sc_revision <= + if (sc->sc_revision < sizeof (eso_rev2model) / sizeof (eso_rev2model[0])) printf(": %s", eso_rev2model[sc->sc_revision]); else |