summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/pcmcia_cis_quirks.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pcmcia/pcmcia_cis_quirks.c')
-rw-r--r--sys/dev/pcmcia/pcmcia_cis_quirks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/pcmcia_cis_quirks.c b/sys/dev/pcmcia/pcmcia_cis_quirks.c
index e003cddcf11..93789b7aa24 100644
--- a/sys/dev/pcmcia/pcmcia_cis_quirks.c
+++ b/sys/dev/pcmcia/pcmcia_cis_quirks.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcmcia_cis_quirks.c,v 1.8 2005/10/27 16:42:19 deraadt Exp $ */
+/* $OpenBSD: pcmcia_cis_quirks.c,v 1.9 2011/03/31 13:05:27 jasper Exp $ */
/* $NetBSD: pcmcia_cis_quirks.c,v 1.3 1998/12/29 09:00:28 marc Exp $ */
/*
@@ -220,7 +220,7 @@ void pcmcia_check_cis_quirks(sc)
pf_last = NULL;
- for (i = 0; i < sizeof(pcmcia_cis_quirks)/sizeof(pcmcia_cis_quirks[0]);
+ for (i = 0; i < nitems(pcmcia_cis_quirks);
i++) {
if ((sc->card.manufacturer == pcmcia_cis_quirks[i].manufacturer) &&
(sc->card.product == pcmcia_cis_quirks[i].product) &&