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/musycc_obsd.c | |
parent | 445a93dfa951cfdb8d9253fd13836d6a25a4ac4b (diff) |
use nitems(); no binary change for drivers that are compiled on amd64.
ok claudio@
Diffstat (limited to 'sys/dev/pci/musycc_obsd.c')
-rw-r--r-- | sys/dev/pci/musycc_obsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/musycc_obsd.c b/sys/dev/pci/musycc_obsd.c index b7df54ad8d1..25a58d88602 100644 --- a/sys/dev/pci/musycc_obsd.c +++ b/sys/dev/pci/musycc_obsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: musycc_obsd.c,v 1.9 2006/01/25 11:02:54 claudio Exp $ */ +/* $OpenBSD: musycc_obsd.c,v 1.10 2011/04/03 15:36:03 jasper Exp $ */ /* * Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland @@ -67,7 +67,7 @@ int musycc_match(struct device *parent, void *match, void *aux) { return (pci_matchbyid((struct pci_attach_args *)aux, musycc_pci_devices, - sizeof(musycc_pci_devices)/sizeof(musycc_pci_devices[0]))); + nitems(musycc_pci_devices))); } void |