summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_rtw_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_rtw_pci.c')
-rw-r--r--sys/dev/pci/if_rtw_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_rtw_pci.c b/sys/dev/pci/if_rtw_pci.c
index 2b316d6c829..fe6a7bb17ed 100644
--- a/sys/dev/pci/if_rtw_pci.c
+++ b/sys/dev/pci/if_rtw_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rtw_pci.c,v 1.14 2010/08/29 16:47:00 deraadt Exp $ */
+/* $OpenBSD: if_rtw_pci.c,v 1.15 2011/04/03 15:36:02 jasper Exp $ */
/* $NetBSD: if_rtw_pci.c,v 1.1 2004/09/26 02:33:36 dyoung Exp $ */
/*-
@@ -118,7 +118,7 @@ int
rtw_pci_match(struct device *parent, void *match, void *aux)
{
return (pci_matchbyid((struct pci_attach_args *)aux, rtw_pci_products,
- sizeof(rtw_pci_products)/sizeof(rtw_pci_products[0])));
+ nitems(rtw_pci_products)));
}
int