summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_atw_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_atw_pci.c')
-rw-r--r--sys/dev/pci/if_atw_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_atw_pci.c b/sys/dev/pci/if_atw_pci.c
index b1056206c6c..2b44e73b3c0 100644
--- a/sys/dev/pci/if_atw_pci.c
+++ b/sys/dev/pci/if_atw_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atw_pci.c,v 1.13 2010/08/29 16:47:00 deraadt Exp $ */
+/* $OpenBSD: if_atw_pci.c,v 1.14 2011/04/03 15:36:02 jasper Exp $ */
/* $NetBSD: if_atw_pci.c,v 1.7 2004/07/23 07:07:55 dyoung Exp $ */
/*-
@@ -106,7 +106,7 @@ int
atw_pci_match(struct device *parent, void *match, void *aux)
{
return (pci_matchbyid((struct pci_attach_args *)aux, atw_pci_devices,
- sizeof(atw_pci_devices)/sizeof(atw_pci_devices[0])));
+ nitems(atw_pci_devices)));
}
static int