diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-04-03 15:36:04 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-04-03 15:36:04 +0000 |
commit | 000aa3a35a0346024da8aeb1ddd117a714ab1a98 (patch) | |
tree | e30c1afbb9ad547a742ef2e358c4067139433873 /sys/dev/pci/auvia.c | |
parent | 445a93dfa951cfdb8d9253fd13836d6a25a4ac4b (diff) |
use nitems(); no binary change for drivers that are compiled on amd64.
ok claudio@
Diffstat (limited to 'sys/dev/pci/auvia.c')
-rw-r--r-- | sys/dev/pci/auvia.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/auvia.c b/sys/dev/pci/auvia.c index adde9086c00..8bc1af6bfb9 100644 --- a/sys/dev/pci/auvia.c +++ b/sys/dev/pci/auvia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auvia.c,v 1.47 2010/09/12 03:17:34 jakemsr Exp $ */ +/* $OpenBSD: auvia.c,v 1.48 2011/04/03 15:36:02 jasper Exp $ */ /* $NetBSD: auvia.c,v 1.28 2002/11/04 16:38:49 kent Exp $ */ /*- @@ -233,7 +233,7 @@ int auvia_match(struct device *parent, void *match, void *aux) { return (pci_matchbyid((struct pci_attach_args *)aux, auvia_devices, - sizeof(auvia_devices)/sizeof(auvia_devices[0]))); + nitems(auvia_devices))); } int |