diff options
Diffstat (limited to 'sys/dev/pci/if_wpi.c')
-rw-r--r-- | sys/dev/pci/if_wpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c index 730ae5d9ab3..6e32ad56161 100644 --- a/sys/dev/pci/if_wpi.c +++ b/sys/dev/pci/if_wpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wpi.c,v 1.75 2008/11/25 21:43:57 damien Exp $ */ +/* $OpenBSD: if_wpi.c,v 1.76 2008/11/25 22:20:11 damien Exp $ */ /*- * Copyright (c) 2006-2008 @@ -176,7 +176,7 @@ int wpi_match(struct device *parent, void *match, void *aux) { return pci_matchbyid((struct pci_attach_args *)aux, wpi_devices, - sizeof wpi_devices / sizeof wpi_devices[0]); + nitems(wpi_devices)); } void |