summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_fxp_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_fxp_pci.c')
-rw-r--r--sys/dev/pci/if_fxp_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_fxp_pci.c b/sys/dev/pci/if_fxp_pci.c
index 048d357087c..c4882b9d9e9 100644
--- a/sys/dev/pci/if_fxp_pci.c
+++ b/sys/dev/pci/if_fxp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fxp_pci.c,v 1.56 2010/08/27 18:25:47 deraadt Exp $ */
+/* $OpenBSD: if_fxp_pci.c,v 1.57 2011/04/03 15:36:02 jasper Exp $ */
/*
* Copyright (c) 1995, David Greenman
@@ -148,7 +148,7 @@ int
fxp_pci_match(struct device *parent, void *match, void *aux)
{
return (pci_matchbyid((struct pci_attach_args *)aux, fxp_pci_devices,
- sizeof(fxp_pci_devices)/sizeof(fxp_pci_devices[0])));
+ nitems(fxp_pci_devices)));
}
void