summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ral_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_ral_pci.c')
-rw-r--r--sys/dev/pci/if_ral_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ral_pci.c b/sys/dev/pci/if_ral_pci.c
index e52e1a782f3..eaf45033441 100644
--- a/sys/dev/pci/if_ral_pci.c
+++ b/sys/dev/pci/if_ral_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ral_pci.c,v 1.13 2008/07/21 19:41:44 damien Exp $ */
+/* $OpenBSD: if_ral_pci.c,v 1.14 2008/11/25 22:20:11 damien Exp $ */
/*-
* Copyright (c) 2005-2007
@@ -119,7 +119,7 @@ int
ral_pci_match(struct device *parent, void *match, void *aux)
{
return (pci_matchbyid((struct pci_attach_args *)aux, ral_pci_devices,
- sizeof (ral_pci_devices) / sizeof (ral_pci_devices[0])));
+ nitems(ral_pci_devices)));
}
void